Renamed paige.link to file_link

This commit is contained in:
Will Faught
2023-10-09 21:15:30 -07:00
parent 254710f77e
commit 0dc194e0f8
2 changed files with 7 additions and 7 deletions

View File

@@ -2,8 +2,8 @@
{{ $copyright := site.Copyright | markdownify }}
{{ $href := "https://github.com/willfaught/paige" }}
{{ $linkcontent := $page.Param "paige.link.content" | markdownify }}
{{ $linkurl := $page.Param "paige.link.url" }}
{{ $linkcontent := $page.Param "paige.file_link.content" | markdownify }}
{{ $linkurl := $page.Param "paige.file_link.url" }}
{{ $target := partial "paige/target.html" (dict "page" $page "url" $href) }}
{{ if and $linkurl $page.File }}
@@ -15,7 +15,7 @@
{{ partial "paige/footer-first.html" . }}
{{ end }}
{{ if and $linkcontent $linkurl (not ($page.Param "paige.link.disable")) }}
{{ if and $linkcontent $linkurl (not ($page.Param "paige.file_link.disable")) }}
<p class="text-center" id="paige-link">
<a class="link-secondary" href="{{ $linkurl }}">{{ $linkcontent }}</a>
</p>