1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 04:55:30 -04:00

extract inline page styles into a separate CSS file, and scope to content via SCSS

styles on AMP pages still won't be scoped to div#content like vanilla pages, though
This commit is contained in:
2020-04-12 12:02:58 -04:00
parent 2fa95de9b1
commit 124d55a99e
4 changed files with 12 additions and 12 deletions

View File

@@ -219,7 +219,7 @@
{{/* Page-specific styles set via front matter */}}
{{- with .Params.css }}
{{- . | safeCSS -}}
{{- replace . " !important" "" | safeCSS -}}
{{ end -}}
</style>