mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-25 12:01:37 +01:00
parent
43ac108b03
commit
c2d047f376
@ -34,6 +34,13 @@
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- /* Styles */}}
|
{{- /* Styles */}}
|
||||||
|
|
||||||
|
{{- /* includes */}}
|
||||||
|
{{- $includes := slice }}
|
||||||
|
{{- $includes = $includes | append (" " | resources.FromString "assets/css/includes-blank.css")}}
|
||||||
|
|
||||||
|
{{- $includes_all := $includes | resources.Concat "assets/css/includes.css" }}
|
||||||
|
|
||||||
{{- $theme_vars := (resources.Get "css/core/theme-vars.css") }}
|
{{- $theme_vars := (resources.Get "css/core/theme-vars.css") }}
|
||||||
{{- $reset := (resources.Get "css/core/reset.css") }}
|
{{- $reset := (resources.Get "css/core/reset.css") }}
|
||||||
{{- $media := (resources.Get "css/core/zmedia.css") }}
|
{{- $media := (resources.Get "css/core/zmedia.css") }}
|
||||||
@ -45,7 +52,7 @@
|
|||||||
{{- $hljs := (cond ($isHLJSdisabled) (" " | resources.FromString "assets/css/hljs-blank.css") (resources.Get "css/hljs/an-old-hope.min.css")) }}
|
{{- $hljs := (cond ($isHLJSdisabled) (" " | resources.FromString "assets/css/hljs-blank.css") (resources.Get "css/hljs/an-old-hope.min.css")) }}
|
||||||
|
|
||||||
{{- /* order is important */}}
|
{{- /* order is important */}}
|
||||||
{{- $core := (slice $theme_vars $reset $common $hljs $media) | resources.Concat "assets/css/core.css" | resources.Minify }}
|
{{- $core := (slice $theme_vars $reset $common $hljs $includes_all $media) | resources.Concat "assets/css/core.css" | resources.Minify }}
|
||||||
{{- $extended := (resources.Match "css/extended/*.css") | resources.Concat "assets/css/extended.css" | resources.Minify }}
|
{{- $extended := (resources.Match "css/extended/*.css") | resources.Concat "assets/css/extended.css" | resources.Minify }}
|
||||||
|
|
||||||
{{- /* bundle all required css */}}
|
{{- /* bundle all required css */}}
|
||||||
|
Loading…
Reference in New Issue
Block a user