wires

summary refs log tree commit diff
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
authorwires <wires@noreply.wires.systems>2025-03-31 13:46:45 -0400
committerwires <wires@noreply.wires.systems>2025-03-31 13:46:45 -0400
commitdcee4fe4b15738c30eb3962ff6caa5db8845254c (patch)
tree65c28a0f175a266a2a105cb2a28d2ecbb74abbfe /layouts/partials/head.html
parentadd deploy script (diff)
downloadblog-dcee4fe4b15738c30eb3962ff6caa5db8845254c.tar.gz
theme changes
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html13
1 files changed, 3 insertions, 10 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index ce38afc..e09b60c 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -6,16 +6,8 @@
 {{ with .Keywords }}<meta name="keywords" content="{{ delimit . ", " }}"/>{{ end }}
 <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/"/>
 <link rel="canonical" href="{{ .Permalink }}"/>
-{{- with resources.Get "style.css" }}
-  {{- if eq hugo.Environment "development" }}
-    <link rel="stylesheet" href="{{ .RelPermalink }}">
-  {{- else }}
-    {{- with . | minify | fingerprint }}
-      <link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
-    {{- end }}
-  {{- end }}
-{{- end }}
-{{- with resources.Get "syntax.css" }}
+{{ range slice "style.css" "syntax.css"}}
+{{- with resources.Get . }}
   {{- if eq hugo.Environment "development" }}
     <link rel="stylesheet" href="{{ .RelPermalink }}">
   {{- else }}
@@ -24,5 +16,6 @@
     {{- end }}
   {{- end }}
 {{- end }}
+{{ end }}
 <title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title>