hacks-guide-minimal-mistake.../_layouts/home.html

19 lines
371 B
HTML

---
layout: archive
---
{{ content }}
<h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h3>
{% if paginator %}
{% assign posts = paginator.posts %}
{% else %}
{% assign posts = site.posts %}
{% endif %}
{% for post in posts %}
{% include archive-single.html %}
{% endfor %}
{% include paginator.html %}