mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-19 17:25: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:
@@ -219,7 +219,7 @@
|
||||
|
||||
{{/* Page-specific styles set via front matter */}}
|
||||
{{- with .Params.css }}
|
||||
{{- . | safeCSS -}}
|
||||
{{- replace . " !important" "" | safeCSS -}}
|
||||
{{ end -}}
|
||||
</style>
|
||||
|
||||
|
Reference in New Issue
Block a user