Move all layouts to platters theme

This commit is contained in:
Eryn Wells 2024-10-07 21:39:17 -07:00
parent de8101efed
commit 66adceaf24
91 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,19 @@
{{ $stylesheets := slice (resources.Get "styles/railroad.css")
(resources.Get "styles/monokai.css")
| append (resources.Match "styles/root/*.css" | sort) }}
{{ if not hugo.IsProduction }}
{{ $stylesheets = $stylesheets | append (resources.Get "styles/development.css") }}
{{ end }}
{{ $rootStylesheets := slice }}
{{ range $stylesheets }}
{{ $rootStylesheets = $rootStylesheets | append (. | resources.ExecuteAsTemplate .Name .) }}
{{ end }}
{{ if hugo.IsProduction }}
{{ $rootStylesheets = slice ($rootStylesheets
| resources.Concat "styles/root.css"
| fingerprint "md5") }}
{{ end }}
{{ return $rootStylesheets }}