diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2026-04-24 11:15:04 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2026-04-24 11:15:04 -0400 |
| commit | 544ced362819ae9bd2abd9c12480f76945b368aa (patch) | |
| tree | 84695604c33c6266a65d63759e3474c9bd87892e /layouts/_partials/footer.html | |
| parent | 8dfec6a37d8adb55d500df1866901e3ee0d3c067 (diff) | |
| download | samanthony.xyz-544ced362819ae9bd2abd9c12480f76945b368aa.zip | |
Diffstat (limited to 'layouts/_partials/footer.html')
| -rw-r--r-- | layouts/_partials/footer.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/layouts/_partials/footer.html b/layouts/_partials/footer.html index 882c3f8..cd01a54 100644 --- a/layouts/_partials/footer.html +++ b/layouts/_partials/footer.html @@ -1,18 +1,18 @@ <hr> <p>{{ partial "copyright.html" . }}</p> <p> - Powered by - <a href="https://gohugo.io/">Hugo</a>, - <a href="https://www.openbsd.org/">OpenBSD</a>, and - <a href="https://freedns.afraid.org/">Free DNS</a>. + Powered by + <a href="https://gohugo.io/">Hugo</a>, + <a href="https://www.openbsd.org/">OpenBSD</a>, and + <a href="https://freedns.afraid.org/">Free DNS</a>. </p> <p> - {{- $repoUrl := .Site.Params.Repo.Url }} - {{- with .GitInfo }} - {{- $baseUrl := urls.JoinPath $repoUrl "/commit/" }} - {{- $commitUrl := printf "%s?id=%s" $baseUrl .Hash }} - Last modified {{ .CommitDate.Format "2006-01-02" }}: - <a href="{{ $commitUrl }}">{{ .AbbreviatedHash }}</a>. - {{- end }} - <a href="{{ $repoUrl }}">Source code →</a> + {{- $repoUrl := .Site.Params.Repo.Url }} + {{- with .GitInfo }} + {{- $baseUrl := urls.JoinPath $repoUrl "/commit/" }} + {{- $commitUrl := printf "%s?id=%s" $baseUrl .Hash }} + Last modified {{ .CommitDate.Format "2006-01-02" }}: + <a href="{{ $commitUrl }}">{{ .AbbreviatedHash }}</a>. + {{- end }} + <a href="{{ $repoUrl }}">Source code →</a> </p> |