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/home.html | 46 ---------------------------------------------- _layouts/postlist.html | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 46 deletions(-) delete mode 100644 _layouts/home.html create mode 100644 _layouts/postlist.html (limited to '_layouts') diff --git a/_layouts/home.html b/_layouts/home.html deleted file mode 100644 index dd4796e..0000000 --- a/_layouts/home.html +++ /dev/null @@ -1,46 +0,0 @@ ---- -layout: default ---- - -
- {%- if page.title -%} -

{{ page.title }}

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

{{ page.list_title }}

- - - {% include pagetrail.html %} - - {%- endif -%} - -
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