dash-website/_layouts/post.html

32 lines
642 B
HTML

---
layout: default
---
{% include hero/post.html %}
<div class="page page--post">
<section class="section section--post">
<div class="section__content content">
<div class="main-col post">
{{ 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>
</section>
</div>