Add render date + commit SHA

This commit is contained in:
David Eisinger
2023-03-04 14:43:34 -05:00
parent 79d7a21b40
commit 02ca54916d
2 changed files with 8 additions and 0 deletions

View File

@@ -2,3 +2,4 @@ baseURL = 'https://davideisinger.com/'
languageCode = 'en-us'
title = 'David Eisinger'
theme = 'v2'
enableGitInfo = true

View File

@@ -1,6 +1,13 @@
<footer>
<hr>
Rendered {{ now | dateFormat "2006-01-02 15:04:05 MST" }} from
{{ with .GitInfo }}
<a href="https://github.com/dce/davideisinger.com/commit/{{ .Hash }}">
{{ substr .Hash 0 7}}
</a>
{{ end }}
<br>
<a href="https://v1.davideisinger.com">Version 1</a>
<a href="/index.xml">Feed</a>
Copyright &copy; {{ now.Format "2006" }} David Eisinger