This commit is contained in:
Adrian Amaglio 2024-04-22 19:24:48 +02:00
parent 16cfd3a2d3
commit 5dca30a165

View File

@ -18,16 +18,12 @@
{{ hugo.Generator }}
{{- $styles := resources.Get "css/styles.css" | postCSS (dict "config" "./assets/css/") -}}
{{- if hugo.IsServer }}
<link rel="stylesheet" href="{{ $styles.RelPermalink }}" />
{{ else }}
{{- $styles := $styles| minify | fingerprint | resources.PostProcess -}}
<link
rel="stylesheet"
href="{{ $styles.Permalink }}"
integrity="{{ $styles.Data.Integrity }}"
/>
{{ end -}}
<!-- KaTeX support -->
{{ if .Params.math }}