summaryrefslogtreecommitdiffstats
path: root/themes/aoidh/layouts/_partials/head/css.html
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-12-21 21:34:02 -0330
committerSam Anthony <sam@samanthony.xyz>2025-12-21 21:34:02 -0330
commitad1bb9787eb2317571cd3d1bfcd5a8b22df4803f (patch)
tree9b5dba33f39458f9bec6824db59f26870251d521 /themes/aoidh/layouts/_partials/head/css.html
downloadsamanthony.xyz-ad1bb9787eb2317571cd3d1bfcd5a8b22df4803f.zip
init hugov1.0.0
Diffstat (limited to 'themes/aoidh/layouts/_partials/head/css.html')
-rw-r--r--themes/aoidh/layouts/_partials/head/css.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/themes/aoidh/layouts/_partials/head/css.html b/themes/aoidh/layouts/_partials/head/css.html
new file mode 100644
index 0000000..d76d23a
--- /dev/null
+++ b/themes/aoidh/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 }}