From c7009f0eb01628fb0ff52351a3e75a4aeb164e8e Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Sat, 10 Jan 2026 12:31:51 -0500 Subject: link to hugo, freedns, and site source code in footer --- layouts/_partials/footer.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 layouts/_partials/footer.html (limited to 'layouts/_partials') diff --git a/layouts/_partials/footer.html b/layouts/_partials/footer.html new file mode 100644 index 0000000..e3699e0 --- /dev/null +++ b/layouts/_partials/footer.html @@ -0,0 +1,24 @@ +
+

+ {{- with index (sort .Site.RegularPages "Date" "asc") 0 -}} + {{ $epoch := .Date }} + {{- with index (sort .Site.Pages "Lastmod" "desc") 0 -}} + {{ $lastMod := .Lastmod }} + {{- if gt $lastMod.Year $epoch.Year -}} + Copyright {{ $epoch.Year -}}–{{- $lastMod.Year -}} + {{- else -}} + Copyright {{ $epoch.Year -}} + {{- end -}} + {{- end -}} + {{- end -}} + {{- with .Site.Params.author.name -}} + , {{ . }} + {{- end -}} + . All rights reserved. +

+

+ Powered by + Hugo and + Free DNS. + Source code → +

-- cgit v1.2.3