Add page-body-first, page-body-last includes

This commit is contained in:
Will Faught
2025-02-10 20:56:17 -08:00
parent 26be91eccd
commit 377b74d0e4
2 changed files with 7 additions and 1 deletions

View File

@@ -49,7 +49,11 @@
{{ partial "paige/page-header.html" $page }}
{{ with $content }}
<main class="mw-100" id="paige-page-content" {{ if $microdata }} itemprop="articleBody" {{ end }}>{{ . | safeHTML }}</main>
<main class="mw-100" id="paige-page-content" {{ if $microdata }} itemprop="articleBody" {{ end }}>
{{ partial "paige/func-include.html" (dict "name" "page-body-first%s.html" "page" $page) }}
{{ . | safeHTML }}
{{ partial "paige/func-include.html" (dict "name" "page-body-last%s.html" "page" $page) }}
</main>
{{ end }}
{{ partial "paige/page-footer.html" $page }}