aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials')
-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 -}}