From 636a187bf01393f5970aa7f623b02a923eaca098 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 11 Nov 2017 22:00:53 +0000 Subject: [PATCH] Move footer to partial --- layouts/_default/baseof.html | 59 ++++++++++++------------------------ layouts/partials/footer.html | 20 ++++++++++++ 2 files changed, 39 insertions(+), 40 deletions(-) create mode 100644 layouts/partials/footer.html diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 5bf0592..d7fc951 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,48 +1,27 @@ - - - - - - - - - + + + + + + + + + - {{ .Title }} :: {{ .Site.Title }} + {{ .Title }} :: {{ .Site.Title }} - {{ partial "metadata.html" . }} - - + {{ partial "metadata.html" . }} + + + {{ partial "navbar.html" . }} -{{ partial "navbar.html" . }} + {{ block "main" . }}{{ end }} -{{ block "main" . }}{{ end }} - - - - - - + {{ partial "footer.html" . }} + + + diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..9d65529 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,20 @@ +