mirror of
https://github.com/hacks-guide/minimal-mistakes.git
synced 2024-11-26 18:30:28 +00:00
23 lines
515 B
HTML
23 lines
515 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 %}
|
|
|
|
{% assign entries_layout = page.entries_layout | default: 'list' %}
|
|
<div class="entries-{{ entries_layout }}">
|
|
{% for post in posts %}
|
|
{% include archive-single.html type=entries_layout %}
|
|
{% endfor %}
|
|
</div>
|
|
|
|
{% include paginator.html %}
|