From cae271ed3db052732c88da152d7132144de2119b Mon Sep 17 00:00:00 2001 From: Xevion Date: Sun, 17 Jul 2022 17:53:37 -0500 Subject: [PATCH] Move footer from posts only to default layout --- _layouts/base.html | 2 +- _layouts/default.html | 15 +++++++++++++-- _layouts/posts.html | 8 -------- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/_layouts/base.html b/_layouts/base.html index 08d3ce6..7b012fe 100644 --- a/_layouts/base.html +++ b/_layouts/base.html @@ -54,7 +54,7 @@ layout: compress - {% if page.layout == "posts" %} + {% if page.layout == "default" or page.layout == "posts" %} {% endif %} diff --git a/_layouts/default.html b/_layouts/default.html index 04c5088..4fa4d5e 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -46,10 +46,21 @@ layout: base {% endfor %} {% endif %} {% if layout.medium_zoom %} - + {% endif %}

- \ No newline at end of file + + +
+ +

+ Atom | + + #{{ site.github.build_revision | truncate: 7, "" }} + +

diff --git a/_layouts/posts.html b/_layouts/posts.html index ef89311..713e118 100644 --- a/_layouts/posts.html +++ b/_layouts/posts.html @@ -34,11 +34,3 @@ layout: default {% endfor %} -
- -

- Atom | - - #{{ site.github.build_revision | truncate: 7, "" }} - -