Fix the page CSS partial so that it generates a new stylesheet for each page

This commit is contained in:
Eryn Wells 2023-05-08 20:07:26 -07:00
parent 6a6c638b76
commit b3a353c2a8

View file

@ -1,5 +1,5 @@
{{ $pageCSS := dict }}
{{ with .Resources.Match "*.css" }}
{{ $pageCSS = . | resources.Concat "page.css" | fingerprint "md5" }}
{{ $pageCSS = . | resources.Concat (printf "%s/page.css" $.File.Dir) | fingerprint "md5" }}
{{ end }}
{{ return $pageCSS }}