Add paige.license config

This commit is contained in:
Will Faught
2024-07-12 12:34:42 -07:00
parent 2c4716de39
commit 424d85797f
2 changed files with 8 additions and 0 deletions

View File

@@ -5,6 +5,7 @@
{{ $theme := "https://github.com/willfaught/paige" }}
{{ $fileediturl := $page.Param "paige.file_edit_url" }}
{{ $filehistoryurl := $page.Param "paige.file_history_url" }}
{{ $license := $page.Param "paige.license" | markdownify }}
{{ $target := partial "paige/target.html" (dict "page" $page "url" $theme) }}
@@ -65,6 +66,10 @@
<p class="mb-0" id="paige-copyright">{{ . }}</p>
{{ end }}
{{ with $license }}
<p class="mb-0" id="paige-license">{{ . }}</p>
{{ end }}
{{ with $credit }}
<p class="mb-0" id="paige-credit">{{ . }}</p>
{{ end }}