summaryrefslogtreecommitdiff
path: root/themes/JustZvan/layouts/_partials/head/css.html
diff options
context:
space:
mode:
authorJustZvan <justzvan@justzvan.xyz>2026-03-24 20:14:42 +0100
committerJustZvan <justzvan@justzvan.xyz>2026-03-24 20:14:42 +0100
commita60a600522b9c638cf06fc484d80209dfb7d5c20 (patch)
tree9801ae967ac65724333abf15a35d445a05167095 /themes/JustZvan/layouts/_partials/head/css.html
feat: initial commit
Diffstat (limited to 'themes/JustZvan/layouts/_partials/head/css.html')
-rw-r--r--themes/JustZvan/layouts/_partials/head/css.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/themes/JustZvan/layouts/_partials/head/css.html b/themes/JustZvan/layouts/_partials/head/css.html
new file mode 100644
index 0000000..d76d23a
--- /dev/null
+++ b/themes/JustZvan/layouts/_partials/head/css.html
@@ -0,0 +1,9 @@
+{{- with resources.Get "css/main.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 }}