Rename commit_url_prefix to commit_url, change to format string

This commit is contained in:
Will Faught
2023-04-07 23:24:18 -07:00
parent 1649a9566e
commit e81acc2a92
4 changed files with 6 additions and 6 deletions

View File

@@ -12,8 +12,8 @@
{{ $tags := $page.Params.tags | default slice | uniq }}
{{ $title := $page.Title | markdownify }}
{{ if and ($page.Param "paige.git.commit_url_prefix") $page.GitInfo }}
{{ $commiturl = print ($page.Param "paige.git.commit_url_prefix") $page.GitInfo.Hash }}
{{ if and ($page.Param "paige.git.commit_url") $page.GitInfo }}
{{ $commiturl = printf ($page.Param "paige.git.commit_url") $page.GitInfo.Hash }}
{{ end }}
<div class="w-100" id="paige-metadata">