Create home page layout with paginated recent posts
1 files changed, 13 insertions(+), 0 deletions(-) A _layouts/home.html
A _layouts/home.html => _layouts/home.html +13 -0
@@ 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 %}