From 80878b3b240f4534635825f6be3bad2b5d22bcbd Mon Sep 17 00:00:00 2001 From: Chris Graham Date: Wed, 6 Feb 2019 16:32:22 -0600 Subject: [PATCH] Added Footer Partial Support This commit includes the footer.html partial file in the template so that it can be overridden to include content at the base of each page such as copyright notice, bottom menu, etc. --- layouts/_default/list.html | 1 + layouts/_default/single.html | 1 + 2 files changed, 2 insertions(+) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index f4495c4..678c051 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -19,6 +19,7 @@ {{ if $paginator.HasNext }}Older Posts >{{ end }} {{ end -}} + {{ partial "footer.html" . }} {{ partial "scripts.html" . }} \ No newline at end of file diff --git a/layouts/_default/single.html b/layouts/_default/single.html index bd4ea3e..1d67555 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -28,6 +28,7 @@ {{ end }} {{ partial "home-card.html" . }} + {{ partial "footer.html" . }} {{ partial "scripts.html" . }} \ No newline at end of file