From 427ed394add6d88f1edaf220bd03ff2c97747b82 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Sun, 6 Mar 2016 21:00:48 -0500 Subject: [PATCH] Use archive template for home page - Remove home specific _layout --- _layouts/home.html | 12 ------------ _pages/home.md | 11 +++++++++-- 2 files changed, 9 insertions(+), 14 deletions(-) delete mode 100644 _layouts/home.html diff --git a/_layouts/home.html b/_layouts/home.html deleted file mode 100644 index e45ba57e..00000000 --- a/_layouts/home.html +++ /dev/null @@ -1,12 +0,0 @@ ---- -layout: default ---- - -{% include absolute-url.liquid %} - -
-

Recent Posts

- {% for post in site.posts limit:5 %} - {% include post-single.html %} - {% endfor %} -
\ No newline at end of file diff --git a/_pages/home.md b/_pages/home.md index 100e444f..cefcce01 100644 --- a/_pages/home.md +++ b/_pages/home.md @@ -1,8 +1,15 @@ --- -layout: home +layout: archive permalink: / excerpt: "A minimal Jekyll theme for your blog by designer Michael Rose." header: image: unsplash-image-7.jpg caption: "Photo credit: [**Unsplash**](https://unsplash.com)" ---- \ No newline at end of file +--- +{% include absolute-url.liquid %} + +### Recent Posts + +{% for post in site.posts limit:5 %} + {% include archive-list-single.html %} +{% endfor %} \ No newline at end of file