X-Git-Url: https://git.danix.xyz/?a=blobdiff_plain;f=layouts%2Fpartials%2Fhead.html;h=0f5757bf86eef52128ee8a6f7844c8678f7d0071;hb=07a590fe6671fbc5961c3c93975dbb79ad252e56;hp=1444f5ddcef85fd76d45b32e2ccb138bc150a3fd;hpb=213775dddc11bf89506c563df2ead19098d80e08;p=theme-danix.xyz.git diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 1444f5d..0f5757b 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,9 +1,19 @@ + - - + + + {{ $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" . }} @@ -11,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 }}