aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/head
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2026-08-26 11:43:23 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2026-08-26 11:43:23 +0200
commit2e1680972d4b71747c1e7b004f9b2a4f9dc16218 (patch)
treef992c72066915c485a125c26327d6bba5be9bedd /layouts/partials/head
parentb6a92239c297248b7072e8b31d4a0174f9213d85 (diff)
fix preprod css
Diffstat (limited to 'layouts/partials/head')
-rw-r--r--layouts/partials/head/styles.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/head/styles.html b/layouts/partials/head/styles.html
index aa7f75a..67d7d9f 100644
--- a/layouts/partials/head/styles.html
+++ b/layouts/partials/head/styles.html
@@ -5,8 +5,8 @@
{{/* Output */}}
{{- if eq hugo.Environment "development" -}}
- <link rel="stylesheet" href="{{ $styles.Permalink | absURL }}" />
+ <link rel="stylesheet" href="{{ $styles.RelPermalink }}" />
{{- else -}}
{{- $styles := $styles | minify | fingerprint -}}
- <link rel="stylesheet" href="{{ $styles.Permalink }}" integrity="{{ $styles.Data.Integrity }}" />
+ <link rel="stylesheet" href="{{ $styles.RelPermalink }}" integrity="{{ $styles.Data.Integrity }}" />
{{- end -}}