added rss template. General cleanup of the theme.
[theme-danix.xyz.git] / layouts / partials / head.html
index 7b072e8..0197516 100644 (file)
@@ -3,14 +3,14 @@
     <meta name="viewport" content="width=device-width, initial-scale=1">
        <link rel="profile" href="https://gmpg.org/xfn/11">
 
-       {{ $sass_options := (dict "targetPath" "css/style.css" "outputStyle" "compressed" "transpiler" "dartsass" "enableSourceMap" (not hugo.IsProduction)) }}
-       {{ $main_style := resources.Get "sass/main.scss" | resources.toCSS $sass_options }}
+       {{ $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 }}
 
-       <link rel="stylesheet" href="{{ $main_style.RelPermalink }}">
+       {{ $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 }}
 
-
-<!--   <link rel="stylesheet" href="{{ "assets/css/dagreynix_fonts.css" | absURL }}">
-       <link rel="stylesheet" href="{{ "assets/css/dagreynix.css" | absURL }}"> -->
+       <link rel="stylesheet" href="{{ $style.RelPermalink }}">
+       <noscript><link rel="stylesheet" href="{{ $noscript.RelPermalink }}" /></noscript>
        {{ partial "funcs/favicon.html" . }}
        <link rel="canonical" href="{{ .Permalink }}">