From 092291f33fbcbb278c96d7ac8ef8ad943ec09348 Mon Sep 17 00:00:00 2001 From: earnest ma Date: Tue, 30 Nov 2021 09:54:28 -0500 Subject: [PATCH] feat: Add last updated info to footer Use GitInfo --- layouts/partials/footer.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 2fbe09f..e676bec 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,4 +1,10 @@

{{ .Site.Copyright }}

+

+ Last updated: {{ .Lastmod.Format "January 2, 2006" }} + {{ with .GitInfo }} + {{ .Subject }} ({{ .AbbreviatedHash }}) + {{ end }}

+