From dfc78c1bf0215fd693e931a17ffde0c1364c117f Mon Sep 17 00:00:00 2001 From: uvok cheetah Date: Thu, 9 Jan 2020 20:26:40 +0100 Subject: Generate autopages for categories + rename home layout --- _layouts/postlist.html | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 _layouts/postlist.html (limited to '_layouts/postlist.html') diff --git a/_layouts/postlist.html b/_layouts/postlist.html new file mode 100644 index 0000000..dd4796e --- /dev/null +++ b/_layouts/postlist.html @@ -0,0 +1,46 @@ +--- +layout: default +--- + +
+ {%- if page.title -%} +

{{ page.title }}

+ {%- endif -%} + + {{ content }} + + {%- if site.posts.size > 0 -%} + + {% include pagetrail.html %} + +

{{ page.list_title }}

+ + + {% include pagetrail.html %} + + {%- endif -%} + +
-- cgit v1.2.3