diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-26 11:43:23 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-26 11:43:23 +0200 |
| commit | 2e1680972d4b71747c1e7b004f9b2a4f9dc16218 (patch) | |
| tree | f992c72066915c485a125c26327d6bba5be9bedd /layouts/partials | |
| parent | b6a92239c297248b7072e8b31d4a0174f9213d85 (diff) | |
fix preprod css
Diffstat (limited to 'layouts/partials')
| -rw-r--r-- | layouts/partials/head/styles.html | 4 |
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 -}} |
