aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/base-footer.html
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-07-22 00:36:28 -0400
committertdro <tdro@noreply.example.com>2022-07-22 00:36:28 -0400
commited919681f324ed070445cfae8f1dd662b09f81b8 (patch)
tree7f0af59b4021907b24f77e9966e7a7145dc227a6 /themes/default/layouts/partials/base-footer.html
parent19a6a9bef26c6c41f3f9b6f3ceda375a8a045a30 (diff)
downloadcanory-ed919681f324ed070445cfae8f1dd662b09f81b8.tar.gz
canory-ed919681f324ed070445cfae8f1dd662b09f81b8.tar.bz2
canory-ed919681f324ed070445cfae8f1dd662b09f81b8.zip
themes/default/layouts: Name spacing and template clean up
Diffstat (limited to 'themes/default/layouts/partials/base-footer.html')
-rw-r--r--themes/default/layouts/partials/base-footer.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/themes/default/layouts/partials/base-footer.html b/themes/default/layouts/partials/base-footer.html
new file mode 100644
index 0000000..6cac939
--- /dev/null
+++ b/themes/default/layouts/partials/base-footer.html
@@ -0,0 +1,12 @@
+{{ $author := index .Site.Data ((or .Params.author .Site.Author.default.footer) | default "default") }}
+
+<footer>
+ {{- with .Site.Author.footer -}}
+ {{ if $.IsHome -}}
+ {{ . | markdownify }}
+ {{- else -}}
+ {{ $author.blogtitle }}
+ {{- end -}}
+ {{- end }}
+ | Copyright &copy; {{ now.Format "2006"}}
+</footer>