Fix URLs for baseURLs that are on a subpath

This commit is contained in:
bbaovanc committed 2021-10-23 00:25:06 -05:00
1 parent edff1f416d
commit 4e9ce6df46
3 files changed
+6 -6

No files matched your search

+1 -1
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>