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

@@ -23,7 +23,7 @@
{{ if or $alert $authors $date $description $first $keywords $last $time $series $title $toc $words }}
<header class="mw-100" id="paige-page-header">
<div class="align-items-center d-flex flex-column">
{{ partial "paige/func-include.html" (dict "name" "page-header-first%s.html" "page" $page) }}
{{ partial "paige/func-include.html" (dict "name" "page-header-first%s.html" "page" $page) | safeHTML }}
{{ with $title }}
<h1 class="fw-bold" id="paige-page-title" {{ if $microdata }} itemprop="headline name" {{ end }}>{{ if $link }}<a href="{{ $link }}">{{ . }}</a>{{ else }}{{ . }}{{ end }}</h1>
@@ -123,7 +123,7 @@
</div>
{{ end }}
{{ partial "paige/func-include.html" (dict "name" "page-header-last%s.html" "page" $page) }}
{{ partial "paige/func-include.html" (dict "name" "page-header-last%s.html" "page" $page) | safeHTML }}
</div>
</header>
{{ end }}