- commit
- bc99ba9dd3e142a4c51977d63f8e87715e5dfbfc
- parent
- fcaafff75b50fc967d25a48acb84b41aa0dea93c
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2025-08-07 12:01
template: strip whitespace
Diffstat
| M | layouts/_default/baseof.html | 18 | +++++++++--------- |
1 files changed, 9 insertions, 9 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
@@ -5,11 +5,11 @@ 5 5 <meta name="viewport" content="width=device-width, initial-scale=1"> 6 6 <meta http-equiv="Content-Security-Policy" content="default-src 'self'"> 7 7 <title>Data Horror Escape Room</title>8 -1 {{ with resources.Get "style.css" }}9 -1 {{ with . | fingerprint }}-1 8 {{ with resources.Get "style.css" -}} -1 9 {{ with . | fingerprint -}} 10 10 <link rel="stylesheet" type="text/css" href="{{ .RelPermalink }}">11 -1 {{ end }}12 -1 {{ end }}-1 11 {{- end }} -1 12 {{- end }} 13 13 </head> 14 14 <body> 15 15 <header> @@ -22,18 +22,18 @@ 22 22 </div> 23 23 </header> 24 24 <main>25 -1 {{ if .Params.Banner }}-1 25 {{- if .Params.Banner }} 26 26 <figure class="banner"> 27 27 <img src="{{ .Params.Banner | relURL }}" alt="">28 -1 {{ if .Params.BannerAttribution }}-1 28 {{ if .Params.BannerAttribution -}} 29 29 <figcaption> 30 30 © <a href="{{ .Params.BannerAttributionLink }}">{{ .Params.BannerAttribution }}</a> 31 31 </figcaption>32 -1 {{ end }}-1 32 {{- end }} 33 33 </figure>34 -1 {{ end }}-1 34 {{- end }} 35 35 <div class="container">36 -1 {{ block "main" . }}{{ end }}-1 36 {{- block "main" . -}}{{- end -}} 37 37 </div> 38 38 </main> 39 39 <footer>