Change how we get git info

This commit is contained in:
David Eisinger
2024-12-09 04:23:24 -05:00
parent 7f7bb5f6ce
commit 13ce308657
3 changed files with 8 additions and 13 deletions

View File

@@ -11,8 +11,8 @@
<div class="mobile-hidden">
Rendered {{ now | dateFormat "2006-01-02 15:04:05 MST" }}
{{ with site.Params.git.last_commit }}
<a href="https://git.sr.ht/~dce/davideisinger.com/commit/{{ .hash }}">{{ substr .hash 0 7}}</a>
{{ with site.Params.git.commit }}
<a href="https://git.sr.ht/~dce/davideisinger.com/commit/{{ . }}">{{ substr . 0 7}}</a>
{{ end }}
</div>