Fix the page CSS partial so that it generates a new stylesheet for each page
This commit is contained in:
parent
6a6c638b76
commit
b3a353c2a8
1 changed files with 1 additions and 1 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue