2021-10-21 22:23:34 +02:00
|
|
|
{{ $style := resources.Get "styles/main.sass" }}
|
|
|
|
{{ with $style }}
|
|
|
|
{{ $styleCSS := . | toCSS }}
|
|
|
|
{{ if not $.Site.Params.debug }}
|
|
|
|
{{ $styleCSS = $styleCSS | minify }}
|
|
|
|
{{ end }}
|
|
|
|
{{ $styleCSS = $styleCSS | fingerprint }}
|
|
|
|
<link rel="stylesheet" href="{{ $styleCSS.Permalink }}" integrity="{{ $styleCSS.Data.Integrity }}">
|
|
|
|
{{ end }}
|