Update git commit link

This commit is contained in:
BBaoVanC 2021-10-26 19:43:32 -05:00
parent fc5f408831
commit 43202259c8
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@
{{ with .GitInfo }}
<span class="post-meta-item">
{{ partial "icon.html" "branch" }}
<a href="{{ (printf "%s/commit/%s" $.Site.Params.repoURL .Hash) | absURL }}">
<a href="{{ (printf "%s/blob/%s/content/%s" $.Site.Params.repoURL .Hash $.File.Path) | absURL }}">
<code>{{ .AbbreviatedHash }}</code>
</a>
</span>