- <link rel="stylesheet" href="{{ "syntax.css" |relURL }}">
- <noscript><link rel="stylesheet" href="{{ $noscript.RelPermalink }}" /></noscript>
+ <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 }}
+