dash-website/_layouts/post.html
Perry Woodin ad056aa1cb Fix/html (#13)
* Remove style-guide from i18n builds

* Remove uncategorized from CN blog posts.

* Team images and alt attributes.

* Fixing language linkage

* Ignore missing or empty alt tags

* ignore sass-cache

* fix gitignore for sass-cache

* fix gitignore for sass-cache

* Only show language dropdown if the page is not a post (blog)

* New url with site.lang included.

* Removed the site.baseurl var from the posts.
2016-09-12 15:25:54 -04:00

36 lines
748 B
HTML

---
layout: default
---
{% tf blog/header.html %}
<div id="title">
<h1 class="content">{% if page.title %}{{ page.title }}{% endif %}</h1>
</div>
<div class="content">
<div class="main-col post">
{% if page.image %}
<img src="{{ page.image }}" class="hero-image">
{% endif %}
<em>{{ page.date | date: "%b %d, %Y" }}</em>
{{ content }}
{% include author.html %}
</div>
<div class="sidebar">
{% for post in site.related_posts limit:5 %}
<!-- limit:4 -->
<div class="feature">
<h3><a href="{{ basenav }}{{ post.url }}">{{ post.title }}</a></h3>
<p><em>{{ post.date | date: "%b %d, %Y" }}</em><br />{{ post.excerpt | strip_html | truncatewords: 10 }}</p>
</div>
{% endfor %}
</div>
</div>