1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-20 21:21:16 -04:00

fix new header on /previously

This commit is contained in:
2021-05-27 11:33:03 -04:00
parent 162fe77be4
commit 80ea194c74
4 changed files with 24 additions and 25 deletions

View File

@@ -5,7 +5,7 @@
{{- with .Params.css -}}
{{/* NOTE: This file doesn't end up getting published (which is good) */}}
{{- $target := path.Join $.File.Dir "css/inline.css" -}}
{{- $css := . | resources.FromString $target | resources.PostCSS (dict "config" "postcss.config.js") -}}
{{- $css := . | resources.FromString $target | resources.ExecuteAsTemplate $target . | resources.PostCSS (dict "config" "postcss.config.js") -}}
{{/* Already being minified to my taste by PostCSS above */}}
{{ printf "<!-- htmlmin:ignore -->" | safeHTML -}}