️ Improve Lighthouse scores

This commit is contained in:
James Panther
2022-01-12 12:20:04 +11:00
parent 04be1dc78e
commit ca5d0bd057
7 changed files with 7 additions and 10 deletions
+1 -1
View File
@@ -65,7 +65,7 @@
{{ if eq (.Site.Params.darkMode | default "auto") "auto" }}
{{ $darkJS := resources.Get "js/dark.js" }}
{{ $darkJS := $darkJS | resources.Minify | resources.Fingerprint "sha512" }}
<script type="text/javascript" src="{{ $darkJS.RelPermalink }}" integrity="{{ $darkJS.Data.Integrity }}"></script>
<script defer type="text/javascript" src="{{ $darkJS.RelPermalink }}" integrity="{{ $darkJS.Data.Integrity }}"></script>
{{ end }}
{{/* Icons */}}
{{ if templates.Exists "partials/favicons.html" }}