aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/footer.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/partials/footer.html')
-rw-r--r--themes/default/layouts/partials/footer.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/themes/default/layouts/partials/footer.html b/themes/default/layouts/partials/footer.html
new file mode 100644
index 0000000..5fe4295
--- /dev/null
+++ b/themes/default/layouts/partials/footer.html
@@ -0,0 +1,12 @@
+{{ $author := index .Site.Data.authors ((or .Params.author .Site.Author.default.user) | default "default") }}
+
+<footer>
+ {{- with .Site.Author.footer -}}
+ {{ if $.IsHome -}}
+ {{ . | markdownify }}
+ {{- else -}}
+ {{ $author.blogtitle }}
+ {{- end -}}
+ {{- end }}
+ | Copyright &copy; {{ now.Format "2006"}}
+</footer>