Disabling target style

This commit is contained in:
Loïc Guibert
2026-02-10 08:59:19 +01:00
parent e0892c5936
commit 7fd4eb58c1
3 changed files with 16 additions and 0 deletions

View File

@@ -48,3 +48,15 @@
{{- end}}
{{- end }}
{{- end }}
{{- with resources.Get "css/override.css" }}
{{- if hugo.IsDevelopment }}
<link rel="stylesheet" href="{{ .RelPermalink }}">
{{- else }}
{{- with . | minify | fingerprint }}
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
{{- end}}
{{- end }}
{{- end }}