From 40d216759cb88e101aac06a7c02070336d2907ce Mon Sep 17 00:00:00 2001 From: Aiden Bai Date: Mon, 2 May 2022 09:05:02 -0700 Subject: [PATCH] Expand template --- layouts/partials/head.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index ea67a00..3b14850 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -21,10 +21,13 @@ href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Source+Sans+Pro:wght@400;600;700&family=Fira+Code:wght@400;700&display=swap" rel="stylesheet" /> - {{$sass := resources.Match "styles/[!_]*.scss" }} {{$css := slice }} {{range - $sass}} {{$scss := . | resources.ToCSS (dict "outputStyle" "compressed") }} - {{$css = $css | append $scss}} {{end}} {{$finalCss := $css | resources.Concat - "styles.css" | resources.Fingerprint "md5" | resources.Minify }} + {{$sass := resources.Match "styles/[!_]*.scss" }} + {{$css := slice }} + {{range $sass}} + {{$scss := . | resources.ToCSS (dict "outputStyle" "compressed") }} + {{$css = $css | append $scss}} + {{end}} + {{$finalCss := $css | resources.Concat "styles.css" | resources.Fingerprint "md5" | resources.Minify }} {{ $darkMode := resources.Get "js/darkmode.js" | resources.Fingerprint "md5" |