From b055367ca22c34994e0bfaf1e32d5787e6fce191 Mon Sep 17 00:00:00 2001 From: Vincent Tam Date: Sat, 24 Aug 2019 19:07:36 +0200 Subject: [PATCH] Updated template to load HLJS CSS --- layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 23c85c3a..d00c11d2 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -31,7 +31,7 @@ {{ if $.Site.Params.highlightjs }} {{ $hlTh := $.Site.Params.highlightjsTheme | default "default" }} {{ $hlThCSS := printf "css/styles/%s.css" $hlTh }} - {{ $cssSlice = $cssSlice | append (resources.Match $hlThCSS) }} + {{ $cssSlice = $cssSlice | append (resources.Get $hlThCSS) }} {{ end }} {{ $css := $cssSlice | resources.Concat "css/bundle.css" | resources.Minify | resources.Fingerprint }}