2021-06-08 14:43:43 +00:00
|
|
|
{{- $styles := slice -}}
|
2022-02-24 21:29:51 +00:00
|
|
|
|
2021-06-08 14:43:43 +00:00
|
|
|
{{- range $index, $name := slice
|
2021-08-22 19:06:05 +00:00
|
|
|
"reset"
|
2021-06-08 14:43:43 +00:00
|
|
|
"variables"
|
|
|
|
"general"
|
|
|
|
"image"
|
|
|
|
"typography"
|
|
|
|
"switcher"
|
|
|
|
"center"
|
|
|
|
"cover"
|
|
|
|
"stack"
|
|
|
|
"box"
|
|
|
|
"grid"
|
|
|
|
"sidebar"
|
|
|
|
"cluster"
|
|
|
|
"frame"
|
|
|
|
"reel"
|
|
|
|
"imposter"
|
|
|
|
"icon"
|
|
|
|
-}}
|
|
|
|
{{- $styles = $styles | append (resources.Get (printf "va/css/%s.css" $name)) -}}
|
|
|
|
{{- end -}}
|
2022-02-24 21:29:51 +00:00
|
|
|
|
2021-06-08 14:43:43 +00:00
|
|
|
{{- $style := $styles | resources.Concat "va.css" -}}
|
2022-02-24 21:29:51 +00:00
|
|
|
|
2021-08-18 23:29:49 +00:00
|
|
|
{{- if hugo.IsProduction -}}
|
|
|
|
{{- $style = $style | minify | fingerprint "sha512" -}}
|
2021-06-08 14:43:43 +00:00
|
|
|
{{- end -}}
|
2022-02-24 21:29:51 +00:00
|
|
|
|
2021-06-08 14:43:43 +00:00
|
|
|
{{- return $style -}}
|