mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-25 12:01:37 +01:00
css: refactor
This commit is contained in:
parent
94070f4cd9
commit
61cbbee16c
@ -32,7 +32,7 @@
|
|||||||
<link href="{{ $stylesheet.Permalink }}" integrity="{{ $stylesheet.Data.Integrity }}" rel="preload stylesheet"
|
<link href="{{ $stylesheet.Permalink }}" integrity="{{ $stylesheet.Data.Integrity }}" rel="preload stylesheet"
|
||||||
as="style">
|
as="style">
|
||||||
{{- if (and (.Site.Params.profileMode.enabled) (.IsHome)) }}
|
{{- if (and (.Site.Params.profileMode.enabled) (.IsHome)) }}
|
||||||
{{- $profileMode := resources.Get "css/profileMode.css" | minify | fingerprint }}
|
{{- $profileMode := resources.Get "css/profile-mode.css" | minify | fingerprint }}
|
||||||
<link href="{{ $profileMode.Permalink }}" integrity="{{ $profileMode.Data.Integrity }}" rel="preload stylesheet"
|
<link href="{{ $profileMode.Permalink }}" integrity="{{ $profileMode.Data.Integrity }}" rel="preload stylesheet"
|
||||||
as="style">
|
as="style">
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user