Fix URLs for baseURLs that are on a subpath

This commit is contained in:
2021-10-23 00:25:06 -05:00
parent edff1f416d
commit 4e9ce6df46
3 changed files with 6 additions and 6 deletions

View File

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