From 5295e27c08e0aa5379319f532e7173cfcb666ac3 Mon Sep 17 00:00:00 2001 From: Gabriele Musco Date: Sat, 25 Dec 2021 14:59:31 +0100 Subject: [PATCH] load cactus chat css before site css --- layouts/partials/cactus_chat.html | 1 - layouts/partials/head.html | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/layouts/partials/cactus_chat.html b/layouts/partials/cactus_chat.html index 12e9ee2..e2dac46 100644 --- a/layouts/partials/cactus_chat.html +++ b/layouts/partials/cactus_chat.html @@ -1,6 +1,5 @@ {{ if and site.Params.cactusCommentsSiteName (.Params.comments | default true) }} -
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index b609ad2..6562654 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -25,6 +25,9 @@ + {{ if and site.Params.cactusCommentsSiteName (.Params.comments | default true) }} + + {{ end }} {{ $style := resources.Get "/scss/style.scss" | resources.ExecuteAsTemplate "/scss/style.scss" . | resources.ToCSS (dict "targetPath" "css/styles.css" "outputStyle" "compressed" "enableSourceMap" "true") | resources.Fingerprint "sha512" }} {{- partial "inject/head.html" . -}}