2017-01-04 00:41:34 +00:00
|
|
|
{% if paginator.posts %}
|
|
|
|
|
|
|
|
<ul class="list list--posts">
|
|
|
|
{% for page in paginator.posts %}
|
|
|
|
<li class="item item--post">
|
|
|
|
<article class="article article--post typeset">
|
|
|
|
|
2018-01-01 19:13:40 +00:00
|
|
|
<h2><a href="{{ page.url }}">{{ page.title }}</a></h2>
|
2017-01-04 00:41:34 +00:00
|
|
|
{% include post-meta.html %}
|
|
|
|
{{ page.excerpt | markdownify | truncatewords: 60 }}
|
|
|
|
|
|
|
|
</article>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% include post-pagination.html %}
|
|
|
|
|
|
|
|
{% else %}
|
2017-01-04 22:36:30 +00:00
|
|
|
|
2017-01-04 00:41:34 +00:00
|
|
|
<ul class="list list--posts">
|
2017-01-04 01:07:47 +00:00
|
|
|
{% for page in site.posts %}
|
2017-01-04 00:41:34 +00:00
|
|
|
<li class="item item--post">
|
|
|
|
<article class="article article--post typeset">
|
|
|
|
|
2018-01-01 19:13:40 +00:00
|
|
|
<h2><a href="{{ page.url }}">{{ page.title }}</a></h2>
|
2017-01-04 00:41:34 +00:00
|
|
|
{% include post-meta.html %}
|
|
|
|
{{ page.excerpt | markdownify | truncatewords: 60 }}
|
|
|
|
|
|
|
|
</article>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
{% endif %}
|