style(syntax themes: head.html): modified templating for syntax theme

This commit is contained in:
Geoffrey Garrett 2022-06-30 00:40:20 +02:00
parent ada0c74160
commit cef9146371

View File

@ -36,8 +36,7 @@
{{$finalCss := $css | resources.Concat "styles.css" | resources.Fingerprint "md5" | resources.Minify }}
<link href="{{$finalCss.Permalink}}" rel="stylesheet" />
{{$lightSyntax := resources.Get "styles/_light_syntax.scss" | resources.ToCSS (dict "outputStyle" "compressed")}}
{{$darkSyntax := resources.Get "styles/_dark_syntax.scss" }}
{{$lightSyntax := resources.Get "styles/_light_syntax.scss" | resources.ToCSS (dict "outputStyle" "compressed") | resources.Fingerprint "md5" | resources.Minify }}
<link href="{{$lightSyntax.Permalink}}" rel="stylesheet" id="theme-link">
<!-- Base scripts -->