Open git commit in new tab

This commit is contained in:
BBaoVanC 2021-10-26 20:33:01 -05:00
parent 43202259c8
commit a1fae8aa60
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A

View File

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