Create home page layout with paginated recent posts

This commit is contained in:
Michael Rose committed 2016-10-06 19:31:12 -04:00
1 parent 6ad9d1ef58
commit 18713fd757
1 file changed
+13
+13
View File
@@ -0,0 +1,13 @@
---
layout: archive
---
{% include base_path %}
<h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h3>
{% for post in paginator.posts %}
{% include archive-single.html %}
{% endfor %}
{% include paginator.html %}