From 2ad28cbbfb4287164e7877923291bb18519688fc Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Fri, 9 Jan 2026 08:07:03 -0500 Subject: replace repo contents with revamped site --- themes/aoidh/layouts/_partials/footer.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 themes/aoidh/layouts/_partials/footer.html (limited to 'themes/aoidh/layouts/_partials/footer.html') diff --git a/themes/aoidh/layouts/_partials/footer.html b/themes/aoidh/layouts/_partials/footer.html new file mode 100644 index 0000000..91d4a34 --- /dev/null +++ b/themes/aoidh/layouts/_partials/footer.html @@ -0,0 +1,17 @@ +
+

+{{- 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.

-- cgit v1.2.3