Add style-first.css, style-last.css
This commit is contained in:
@@ -753,6 +753,8 @@ It has the parameters of the `paige/figure` shortcode.
|
|||||||
| `partials/paige/header-last.html` | The end of the header tag |
|
| `partials/paige/header-last.html` | The end of the header tag |
|
||||||
| `partials/paige/main-first.html` | The beginning of the main tag |
|
| `partials/paige/main-first.html` | The beginning of the main tag |
|
||||||
| `partials/paige/main-last.html` | The end of the main tag |
|
| `partials/paige/main-last.html` | The end of the main tag |
|
||||||
|
| `partials/paige/style-first.html` | The beginning of the style tag |
|
||||||
|
| `partials/paige/style-last.html` | The end of the style tag |
|
||||||
|
|
||||||
### Override
|
### Override
|
||||||
|
|
||||||
|
@@ -1,4 +1,3 @@
|
|||||||
<style>
|
|
||||||
.paige-authors,
|
.paige-authors,
|
||||||
.paige-date,
|
.paige-date,
|
||||||
.paige-reading-time,
|
.paige-reading-time,
|
||||||
@@ -12,4 +11,3 @@
|
|||||||
#paige-pages .paige-terms {
|
#paige-pages .paige-terms {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
</style>
|
|
@@ -1,6 +1,10 @@
|
|||||||
{{ $page := . }}
|
{{ $page := . }}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
{{ if templates.Exists "partials/paige/style-first.css" }}
|
||||||
|
{{ partial "paige/style-first.css" $page | safeCSS }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
body, html {
|
body, html {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
@@ -96,4 +100,8 @@ body, html {
|
|||||||
{{ partial "paige/light.css" . | safeCSS }}
|
{{ partial "paige/light.css" . | safeCSS }}
|
||||||
}
|
}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ if templates.Exists "partials/paige/style-last.css" }}
|
||||||
|
{{ partial "paige/style-last.css" $page | safeCSS }}
|
||||||
|
{{ end }}
|
||||||
</style>
|
</style>
|
||||||
|
Reference in New Issue
Block a user