From 18713fd757ea9f0f8948f27e50f91dc5d679d648 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Thu, 6 Oct 2016 19:31:12 -0400 Subject: [PATCH] Create home page layout with paginated recent posts --- _layouts/home.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 _layouts/home.html diff --git a/_layouts/home.html b/_layouts/home.html new file mode 100644 index 00000000..2db6526b --- /dev/null +++ b/_layouts/home.html @@ -0,0 +1,13 @@ +--- +layout: archive +--- + +{% include base_path %} + +

{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}

+ +{% for post in paginator.posts %} + {% include archive-single.html %} +{% endfor %} + +{% include paginator.html %}