diff options
author | Raphael Aguiar <rmaguiar@tuta.io> | 2021-02-24 22:30:47 +0300 |
---|---|---|
committer | Raphael Aguiar <rmaguiar@tuta.io> | 2021-02-24 22:30:47 +0300 |
commit | 6b016d23b9f5fa6917908e77920c395e68b7ddca (patch) | |
tree | 416279ca3ffa8b9a296567f47d0e173e3b0130da /layouts/partials/head-style.html | |
parent | 011e93875dbbd31e6630614d0457211f3fe3f5f8 (diff) |
Remove lazysizes library and minor changes
Diffstat (limited to 'layouts/partials/head-style.html')
-rw-r--r-- | layouts/partials/head-style.html | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/layouts/partials/head-style.html b/layouts/partials/head-style.html index 4f9fc32..111ec1f 100644 --- a/layouts/partials/head-style.html +++ b/layouts/partials/head-style.html @@ -1,6 +1,6 @@ <!-- Main CSS --> -{{ $main := resources.Get "scss/main.scss" | resources.ExecuteAsTemplate "css/main.scss" . | toCSS | minify | resources.Fingerprint "sha512" }} -<link rel="stylesheet" href="{{ $main.RelPermalink }}" integrity="{{ $main.Data.Integrity }}"> +{{ $main := resources.Get "scss/main.scss" | resources.ExecuteAsTemplate "css/main.scss" . | toCSS | minify }} +<link rel="stylesheet" href="{{ $main.RelPermalink }}"> <!-- If JS is disabled --> @@ -28,8 +28,7 @@ --accent: {{ if .Site.Params.Style.isDark }}{{ $darkAccent }}{{ else }}{{ $lightAccent }}{{ end }}; } - .req-js, - img.lazyload { + .req-js { display: none; } |