Add paige.style param

master
Will Faught 2 years ago
parent 0746ef4f83
commit c5637f7966

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

@ -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 }}

Loading…
Cancel
Save