diff --git a/docs/config.json b/docs/config.json index 8ba5a98c7..10faf3f00 100644 --- a/docs/config.json +++ b/docs/config.json @@ -16,6 +16,7 @@ "~$", "^\\." ], + "enableGitInfo": true, "markup": { "goldmark": { "extensions": { diff --git a/docs/layouts/_default/baseof.html b/docs/layouts/_default/baseof.html index d422ab0c7..7922ce25c 100644 --- a/docs/layouts/_default/baseof.html +++ b/docs/layouts/_default/baseof.html @@ -40,6 +40,8 @@

© Nick Craig-Wood 2014-{{ now.Format "2006" }}
+ {{ if .File}}Source file {{ .File.Path }} + last updated {{ .Lastmod.Format "2006-01-02" }}
{{end}} Website hosted on a MEMSET CLOUD VPS, uploaded with rclone and built with Hugo.