1

Introduction du nouveau thème

This commit is contained in:
2025-10-11 00:36:18 +02:00
parent fa5ba208ed
commit 2653b0fa01
112 changed files with 1590 additions and 2766 deletions

View File

@@ -0,0 +1,9 @@
{{- $mainCSS := resources.Get "css/index.css" | postCSS (dict "inlineImports" true) -}}
{{- $bundle := slice $mainCSS | resources.Concat "css/bundle.css" -}}
{{- if eq hugo.Environment "development" -}}
<link rel="stylesheet" href="{{ $bundle.RelPermalink }}" type="text/css" />
{{- else -}}
{{- with $bundle | minify | fingerprint -}}
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous" type="text/css" />
{{- end -}}
{{- end -}}