Add paige.style param
This commit is contained in:
@@ -314,6 +314,7 @@ paige:
|
|||||||
web_master: ""
|
web_master: ""
|
||||||
search:
|
search:
|
||||||
hide_page: false
|
hide_page: false
|
||||||
|
style: ""
|
||||||
terms:
|
terms:
|
||||||
hide: false
|
hide: false
|
||||||
inner_class: "badge text-bg-secondary text-decoration-none"
|
inner_class: "badge text-bg-secondary text-decoration-none"
|
||||||
|
@@ -12,6 +12,10 @@
|
|||||||
{{ partial "paige/links.html" $page }}
|
{{ partial "paige/links.html" $page }}
|
||||||
{{ partial "paige/style.html" $page }}
|
{{ partial "paige/style.html" $page }}
|
||||||
|
|
||||||
|
{{ with $page.Param "paige.style" }}
|
||||||
|
<style>{{ . | safeCSS }}</style>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ if templates.Exists "partials/paige/head-last.html" }}
|
{{ if templates.Exists "partials/paige/head-last.html" }}
|
||||||
{{ partial "paige/head-last.html" $page }}
|
{{ partial "paige/head-last.html" $page }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Reference in New Issue
Block a user