Clean up the partials directory

Sort partials into base and site directories
This commit is contained in:
Eryn Wells 2024-06-28 09:07:33 -07:00
parent d73c779508
commit 4327d34827
8 changed files with 86 additions and 10 deletions

View file

@ -0,0 +1,9 @@
{{- with (partial "base/css.html" .) }}
{{- 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 }}