Fix style.html to support include kinds
This commit is contained in:
@@ -1,9 +1,7 @@
|
|||||||
{{ $page := . }}
|
{{ $page := . }}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
{{ if templates.Exists "partials/paige/style-first.css" }}
|
{{ partial "paige/func-include.html" (dict "name" "style-first%s.html" "page" $page) }}
|
||||||
{{ partial "paige/style-first.css" $page | safeCSS }}
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
.paige-figure-numbered {
|
.paige-figure-numbered {
|
||||||
counter-increment: paige-figure-numbered;
|
counter-increment: paige-figure-numbered;
|
||||||
@@ -113,7 +111,5 @@ table {
|
|||||||
{{ . | safeCSS }}
|
{{ . | safeCSS }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if templates.Exists "partials/paige/style-last.css" }}
|
{{ partial "paige/func-include.html" (dict "name" "style-last%s.html" "page" $page) }}
|
||||||
{{ partial "paige/style-last.css" $page | safeCSS }}
|
|
||||||
{{ end }}
|
|
||||||
</style>
|
</style>
|
||||||
|
Reference in New Issue
Block a user