12 lines
536 B
HTML
12 lines
536 B
HTML
|
{{ $allStylesheets := slice (resources.Get "styles/root.css")
|
||
|
(resources.Get "styles/railroad.css")
|
||
|
(resources.Get "styles/monokai.css") }}
|
||
|
{{ if not hugo.IsProduction }}
|
||
|
{{ $allStylesheets = $allStylesheets | append (resources.Get "styles/development.css") }}
|
||
|
{{ end }}
|
||
|
{{ $rootCSS := $allStylesheets
|
||
|
| resources.Concat "styles/root.css"
|
||
|
| resources.ExecuteAsTemplate "styles/root.css" .
|
||
|
| fingerprint "sha512" }}
|
||
|
{{ return $rootCSS }}
|