From 83b14be2b2b9fba92e18996ecc965d5bcdfa21bf Mon Sep 17 00:00:00 2001 From: Nathan Biller Date: Thu, 3 Oct 2019 10:43:13 -0400 Subject: [PATCH] Added the ability to add a footer on a single page using front matter. If include_footer: true is present, then the footer will be displayed. --- layouts/_default/single.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 7ac3c1f..0c91775 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -15,6 +15,10 @@ {{ partial "single/single.html" . }} + {{ if .Params.include_footer }} + {{ partial "footer.html" . }} + {{ end }} +