X-Git-Url: https://git.danix.xyz/?a=blobdiff_plain;f=layouts%2Fpartials%2Fhead.html;h=0f5757bf86eef52128ee8a6f7844c8678f7d0071;hb=07a590fe6671fbc5961c3c93975dbb79ad252e56;hp=f7beaee3401d7ef999ef532b9f6b7712d067bc33;hpb=fa4761127c8fa56df90ad4795c96d4e8470e03d4;p=theme-danix.xyz.git diff --git a/layouts/partials/head.html b/layouts/partials/head.html index f7beaee..0f5757b 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,17 +1,19 @@ + - {{ $main_options := (dict "targetPath" "css/site.css" "outputStyle" "compressed") }} - {{ $main_template := resources.Get "sass/main.scss" }} - {{ $main_style := $main_template | resources.toCSS $main_options | resources.Minify }} - + {{ $style_options := (dict "targetPath" "css/style.css" "outputStyle" "compressed" "transpiler" "dartsass" "enableSourceMap" (not hugo.IsProduction)) }} + {{ $style := resources.Get "sass/main.scss" | resources.ToCSS $style_options }} + {{ $noscript_options := (dict "targetPath" "css/noscript.css" "outputStyle" "compressed" "transpiler" "dartsass" "enableSourceMap" (not hugo.IsProduction)) }} + {{ $noscript := resources.Get "sass/noscript.scss" | resources.ToCSS $noscript_options }} - + + + {{ partial "funcs/favicon.html" . }} @@ -19,7 +21,7 @@ {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} - {{ $title := print .Site.Title " ⋇ " .Title }} + {{ $title := print .Site.Title " ⁃ " .Title | safeHTML }} {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }} {{ $title }}