Add microdata

This commit is contained in:
Will Faught
2025-01-21 22:30:44 -08:00
parent 730c3b8be4
commit bcacae10c0
4 changed files with 35 additions and 10 deletions

View File

@@ -5,6 +5,7 @@
{{ $first := templates.Exists "partials/paige/footer-first.html" }}
{{ $last := templates.Exists "partials/paige/footer-last.html" }}
{{ $license := $page.Param "paige.license" | markdownify | and ($page.Param "paige.site.disable_license" | not) }}
{{ $microdata := $page.Params.paige.page.microdata }}
{{ $theme := "https://github.com/willfaught/paige" }}
{{ $target := partial "paige/target.html" (dict "page" $page "url" $theme) }}
@@ -30,7 +31,7 @@
{{ end }}
{{ with $copyright }}
<p class="paige-row-narrow text-center text-secondary" id="paige-copyright">{{ . }}</p>
<p class="paige-row-narrow text-center text-secondary" id="paige-copyright" {{ if $microdata }} itemprop="copyrightNotice" {{ end }}>{{ . }}</p>
{{ end }}
{{ with $license }}