Added a new plain theme ('hugo new'-generated) and fixed an issue with character identation in hugo.toml

This commit is contained in:
2024-09-20 23:18:19 +02:00
parent 7626fe7257
commit a70479c1e6
26 changed files with 307 additions and 3 deletions

View File

@@ -0,0 +1,9 @@
{{- with resources.Get "css/main.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 }}