Move paige.style to style tag
This commit is contained in:
@@ -198,7 +198,7 @@ There is a single parameter object with sensible defaults that can be overridden
|
|||||||
enable_math = false # Enables math typesetting for this page
|
enable_math = false # Enables math typesetting for this page
|
||||||
exclude_feeds = false # Excludes this page from feeds
|
exclude_feeds = false # Excludes this page from feeds
|
||||||
exclude_search = false # Excludes this page from search
|
exclude_search = false # Excludes this page from search
|
||||||
style = "" # CSS included at the end of the stylesheet for this page
|
style = "" # CSS included in a stylesheet for this page
|
||||||
|
|
||||||
[paige.alert]
|
[paige.alert]
|
||||||
|
|
||||||
|
@@ -103,7 +103,3 @@ table {
|
|||||||
transition: none;
|
transition: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
{{ with $page.Param "paige.style" }}
|
|
||||||
{{ . | safeCSS }}
|
|
||||||
{{ end }}
|
|
||||||
|
@@ -41,5 +41,10 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ partial "paige/links.html" $page }}
|
{{ partial "paige/links.html" $page }}
|
||||||
|
|
||||||
|
{{ with $page.Param "paige.style" }}
|
||||||
|
<style>{{ . | safeCSS }}</style>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ partial "paige/func-include.html" (dict "name" "head-last%s.html" "page" $page) | safeHTML }}
|
{{ partial "paige/func-include.html" (dict "name" "head-last%s.html" "page" $page) | safeHTML }}
|
||||||
</head>
|
</head>
|
||||||
|
Reference in New Issue
Block a user