commit
c674e59fca
@ -16,7 +16,7 @@
|
|||||||
<link rel="shortcut icon" type="image/x-icon" href="{{ $.Site.Params.favicon | relURL }}" />
|
<link rel="shortcut icon" type="image/x-icon" href="{{ $.Site.Params.favicon | relURL }}" />
|
||||||
{{ $options := (dict "outputStyle" "compressed" "enableSourceMap" (not hugo.IsProduction)) }}
|
{{ $options := (dict "outputStyle" "compressed" "enableSourceMap" (not hugo.IsProduction)) }}
|
||||||
{{ $sass := resources.Get "css/main.scss" }}
|
{{ $sass := resources.Get "css/main.scss" }}
|
||||||
{{ $style := $sass | resources.ToCSS $options | resources.Fingerprint "sha512" }}
|
{{ $style := $sass | css.Sass $options | resources.Fingerprint "sha512" }}
|
||||||
<link rel="stylesheet" href="{{ $style.Permalink | relURL }}" integrity="{{ $style.Data.Integrity }}" />
|
<link rel="stylesheet" href="{{ $style.Permalink | relURL }}" integrity="{{ $style.Data.Integrity }}" />
|
||||||
{{ if .Params.mathjax }} {{ partial "mathjax.html" . }} {{ end }}
|
{{ if .Params.mathjax }} {{ partial "mathjax.html" . }} {{ end }}
|
||||||
</head>
|
</head>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user