commit 7e12af3bf1c6f3a6cfffcbb1f3ac2dd8fc6a986f parent ee4d4dad7cc9e46063882241b0cbdc6233a0c807 Author: Michael Neuper <michael@michaelneuper.com> Date: Sat, 4 Nov 2023 00:55:10 +0200 Load fonts first Diffstat:
| M | assets/sass/layouts/common.scss | | | 2 | +- |
| M | layouts/_default/baseof.html | | | 5 | ----- |
2 files changed, 1 insertion(+), 6 deletions(-)
diff --git a/assets/sass/layouts/common.scss b/assets/sass/layouts/common.scss @@ -1,7 +1,7 @@ @use "sass:math"; @import "../vars"; -// @import "../fonts"; +@import "../fonts"; // global * { diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html @@ -83,11 +83,6 @@ {{ partial "footer.html" . }} </div> - {{ $options := dict "transpiler" "dartsass" "targetPath" "css/index.css" }} - {{ with resources.Get "sass/layouts/index.scss" | toCSS $options | postCSS | minify | fingerprint }} - <link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous"> - {{ end }} - <!-- custom js --> {{ range .Site.Params.customJS }} <script src="{{ . | absURL }}"></script>