Move paige.main.* params to paige

This commit is contained in:
Will Faught
2023-02-24 17:17:39 -08:00
parent 42cf171da5
commit 42f8f041fd
6 changed files with 58 additions and 59 deletions

View File

@@ -49,8 +49,8 @@
{{ $titleclass := $page.Param "paige.list.title.class" | default "mb-0 paige-title text-center" }}
{{ $titlelink := .RelPermalink }}
{{ if and ($page.Param "paige.main.metadata.git.commit_url_prefix") $page.GitInfo }}
{{ $commiturl = print ($page.Param "paige.main.metadata.git.commit_url_prefix") $page.GitInfo.Hash }}
{{ if and ($page.Param "paige.metadata.git.commit_url_prefix") $page.GitInfo }}
{{ $commiturl = print ($page.Param "paige.metadata.git.commit_url_prefix") $page.GitInfo.Hash }}
{{ end }}
{{ if $draft }}