show git commit ref

This commit is contained in:
Ben Charlton 2024-06-18 18:20:22 +01:00
parent 4193a15b0e
commit 01a196460a

View file

@ -1,7 +1,8 @@
<footer> <footer>
<div> <div>
<p> <p>
&copy; {{ $.Site.Params.Copyright }} {{ now.Format "2006"}} &copy; {{ $.Site.Params.Copyright }} {{ now.Format "2006"}} {{ with .GitInfo }}- {{ .AbbreviatedHash }} {{ end }}
{{ with $.Site.Params.License -}} {{ with $.Site.Params.License -}}
&middot; <a href="{{ $.Site.Params.licenseURL }}" target="_blank">{{ . | safeHTML }}</a> &middot; <a href="{{ $.Site.Params.licenseURL }}" target="_blank">{{ . | safeHTML }}</a>