Add paige.style param
This commit is contained in:
@@ -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 }}
|
||||
|
Reference in New Issue
Block a user