css: refactor

This commit is contained in:
Aditya Telange 2020-09-29 16:43:41 +05:30
parent 94070f4cd9
commit 61cbbee16c
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
2 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@
<link href="{{ $stylesheet.Permalink }}" integrity="{{ $stylesheet.Data.Integrity }}" rel="preload stylesheet"
as="style">
{{- 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"
as="style">
{{- end }}