feat: Footer GitInfo, links in footer

pull/2/head
earnest ma 2021-02-05 19:33:52 -05:00
parent f968e48928
commit 2b6951e7e4
No known key found for this signature in database
GPG Key ID: 6B361FA81C5FB695
1 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,11 @@
<p>
{{ .Site.Copyright }} • <a href="https://git.earne.link/earnestma/dracublog/" target="_blank" rel="noopener">theme</a>
{{ if $.GitInfo }}
({{ .GitInfo.AbbreviatedHash }})
• {{ .GitInfo.AbbreviatedHash }} (on {{ dateFormat "Jan 2, 16:03" .GitInfo.AuthorDate }})
{{ end }}
</p>
<p>
{{ range .Site.Menus.footer }}
<a href="{{ .URL }}">{{ .Name }}</a>
{{ end }}
</p>