title | layout | sidebar | hide_sidebar |
---|---|---|---|
Blog Posts |
page |
none |
true |
<div class="post-list">
{% for post in site.posts limit:10 %}
<h2><a class="post-link" href="{{ post.url }}">{{ post.title }}</a></h2>
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }} /
{% for tag in post.tags %}
<a href="/pages/tags/#{{tag}}-ref">{{tag}}</a>{% unless forloop.last %}, {% endunless%}
{% endfor %}</span>
<p>{% if page.summary %} {{ page.summary | strip_html | strip_newlines | truncate: 160 }} {% else %} {{ post.content | truncatewords: 50 | strip_html }} {% endif %}</p>
{% endfor %}