Add include file kind variants

This commit is contained in:
Will Faught
2025-02-07 23:21:13 -08:00
parent 49d876e533
commit 598671aab3
8 changed files with 57 additions and 47 deletions

View File

@@ -17,9 +17,7 @@
{{ if or $copyright $credit $first $last $license }}
<footer id="paige-site-footer">
{{ if $first }}
{{ partial "paige/site-footer-first.html" . }}
{{ end }}
{{ partial "paige/func-include.html" (dict "name" "site-footer-first%s.html" "page" $page) }}
{{ with $copyright }}
<p class="paige-row-short text-center text-secondary" id="paige-copyright" {{ if $microdata }} itemprop="copyrightNotice" {{ end }}>{{ . }}</p>
@@ -33,8 +31,6 @@
<p class="paige-row-short text-center text-secondary" id="paige-credit">{{ . }}</p>
{{ end }}
{{ if $last }}
{{ partial "paige/site-footer-last.html" . }}
{{ end }}
{{ partial "paige/func-include.html" (dict "name" "site-footer-last%s.html" "page" $page) }}
</footer>
{{ end }}