Files
HMCL-docs/theme/minimal-mistakes/_layouts/home.html
T
2026-11-02 17:06:03 +08:00

22 lines
598 B
HTML

---
layout: archive
---
{%- assign locale = page.locale | default: layout.locale | default: site.locale %}
{{ content }}
<h3 class="archive__subtitle">{{ site.data.ui-text[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 }}">
{% include documents-collection.html locale=locale entries=posts type=entries_layout %}
</div>
{% include paginator.html locale=locale %}