~bandali/hugo-theme-divine

7c7e692a3787e603143f729152a39fc78beb40e6 — Amin Bandali 2 years ago 12e3c06
fix the recently-broken commit address in footer

git.sr.ht's url's changed recently, when transitioning to in-house
repo browser.
1 files changed, 1 insertions(+), 1 deletions(-)

M layouts/partials/footer.html
M layouts/partials/footer.html => layouts/partials/footer.html +1 -1
@@ 9,7 9,7 @@
{{ $git := . }}
{{ with $.Site.Params.source }}
<span class="bar">|</span>
@<a href="{{ .url }}/commit/?id={{- $git.Hash -}}"
@<a href="{{ .url }}/commit/{{- $git.Hash -}}"
    title="'{{ $git.Subject }}' on {{ dateFormat "2006-01-02" $git.AuthorDate }}">
  {{- $git.AbbreviatedHash -}}</a>
{{ end }}