<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta name="color-scheme" content="light dark">
<link rel="profile" href="https://gmpg.org/xfn/11">
- {{ $main_style := resources.Get "sass/main.scss" | resources.toCSS }}
- <link rel="stylesheet" href="{{ $main_style.RelPermalink }}">
+ {{ $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 | fingerprint }}
+ {{ $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 | fingerprint }}
+
+ <link rel="stylesheet" href="{{ $style.RelPermalink }}">
+ <link rel="stylesheet" href="{{ "css/syntax.css" |relURL }}">
+ <noscript><link rel="stylesheet" href="{{ $noscript.RelPermalink }}" ></noscript>
+
+ {{ if eq "curriculum" .Type }}
+ {{ $print_style_options := (dict "targetPath" "css/print.css" "outputStyle" "compressed" "transpiler" "dartsass" "enableSourceMap" (not hugo.IsProduction)) }}
+ {{ $print_style := resources.Get "sass/print.scss" | resources.ToCSS $print_style_options | fingerprint }}
+ <link media="print" rel="stylesheet" href="{{ $print_style.RelPermalink }}">
+ {{ end }}
-<!-- <link rel="stylesheet" href="{{ "assets/css/dagreynix_fonts.css" | absURL }}">
- <link rel="stylesheet" href="{{ "assets/css/dagreynix.css" | absURL }}"> -->
{{ partial "funcs/favicon.html" . }}
<link rel="canonical" href="{{ .Permalink }}">
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .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>{{ $title }}</title>