From 4cad4206a20fc85806bd2035233f4f7c9cf29e8c 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 0000000..2db6526 --- /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 %} -- 2.43.0