diff options
Diffstat (limited to 'layouts/partials/head.html')
| -rw-r--r-- | layouts/partials/head.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 60d66eb..8c88a68 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -30,7 +30,7 @@ {{ $stylesheet := slice $anoldhope $style | resources.Concat "css/stylesheet.css" | minify | fingerprint }} <link href="{{ $stylesheet.Permalink }}" integrity="{{ $stylesheet.Data.Integrity }}" rel="preload stylesheet" as="style"> -{{ if (and (.Site.Params.profileMode) (.IsHome)) }} +{{ if (and (.Site.Params.profileMode.enabled) (.IsHome)) }} {{ $profileMode := resources.Get "css/profileMode.css" | minify | fingerprint }} <link href="{{ $profileMode.Permalink }}" integrity="{{ $profileMode.Data.Integrity }}" rel="preload stylesheet" as="style"> |
