Mark includes as safe

This commit is contained in:
Will Faught
2025-02-23 10:28:51 -08:00
parent 1b0ca92c5a
commit fad409c0bd
8 changed files with 20 additions and 20 deletions

View File

@@ -35,7 +35,7 @@
{{ if or $breadcrumbs $description $first $last $menu $title }}
<header id="paige-site-header">
{{ partial "paige/func-include.html" (dict "name" "site-header-first%s.html" "page" $page) }}
{{ partial "paige/func-include.html" (dict "name" "site-header-first%s.html" "page" $page) | safeHTML }}
{{ with $title }}
<div class="display-1 fw-bold {{ if not (or $breadcrumbs $description $menu) }} paige-row-tall {{ end }} text-center" id="paige-site-title">
@@ -153,6 +153,6 @@
</nav>
{{ end }}
{{ partial "paige/func-include.html" (dict "name" "site-header-last%s.html" "page" $page) }}
{{ partial "paige/func-include.html" (dict "name" "site-header-last%s.html" "page" $page) | safeHTML }}
</header>
{{ end }}