Add paige.style param

This commit is contained in:
Will Faught
2023-02-24 19:45:21 -08:00
parent 0746ef4f83
commit c5637f7966
2 changed files with 5 additions and 0 deletions

View File

@@ -314,6 +314,7 @@ paige:
web_master: ""
search:
hide_page: false
style: ""
terms:
hide: false
inner_class: "badge text-bg-secondary text-decoration-none"

View File

@@ -12,6 +12,10 @@
{{ partial "paige/links.html" $page }}
{{ partial "paige/style.html" $page }}
{{ with $page.Param "paige.style" }}
<style>{{ . | safeCSS }}</style>
{{ end }}
{{ if templates.Exists "partials/paige/head-last.html" }}
{{ partial "paige/head-last.html" $page }}
{{ end }}