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

23 lines
515 B
HTML
Raw Permalink Normal View History

---
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 %}
2020-08-04 18:32:54 +02:00
{% assign entries_layout = page.entries_layout | default: 'list' %}
<div class="entries-{{ entries_layout }}">
{% for post in posts %}
2020-08-04 18:32:54 +02:00
{% include archive-single.html type=entries_layout %}
{% endfor %}
</div>
{% include paginator.html %}