home.html 515 B

1234567891011121314151617181920212223
  1. ---
  2. layout: archive
  3. ---
  4. {{ content }}
  5. <h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h3>
  6. {% if paginator %}
  7. {% assign posts = paginator.posts %}
  8. {% else %}
  9. {% assign posts = site.posts %}
  10. {% endif %}
  11. {% assign entries_layout = page.entries_layout | default: 'list' %}
  12. <div class="entries-{{ entries_layout }}">
  13. {% for post in posts %}
  14. {% include archive-single.html type=entries_layout %}
  15. {% endfor %}
  16. </div>
  17. {% include paginator.html %}