Remove whitespace on diary headings

This commit is contained in:
2026-05-08 15:22:56 +02:00
parent c2c4960ee7
commit 34e2a8972a
2 changed files with 2 additions and 5 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
{{range .Days}} {{range .Days}}
<h2 id="{{.ID}}"> <h2 id="{{.ID}}">{{if .URL}}<a href="{{.URL}}">{{.Heading}}</a>{{else}}{{.Heading}}{{end}}
{{if .URL}}<a href="{{.URL}}">{{.Heading}}</a>{{else}}{{.Heading}}{{end}}
{{if .EditURL}}<a href="{{.EditURL}}" class="btn btn-small">edit</a>{{end}} {{if .EditURL}}<a href="{{.EditURL}}" class="btn btn-small">edit</a>{{end}}
</h2> </h2>
{{if .Content}}{{.Content}}{{end}} {{if .Content}}{{.Content}}{{end}}
+1 -3
View File
@@ -1,8 +1,6 @@
<h2 id="months">Monate</h2> <h2 id="months">Monate</h2>
{{range .Months}} {{range .Months}}
<h3 id="{{.ID}}"> <h3 id="{{.ID}}"><a href="{{.URL}}">{{.Name}}</a></h3>
<a href="{{.URL}}">{{.Name}}</a>
</h3>
{{if .Photos}} {{if .Photos}}
<div class="photo-grid"> <div class="photo-grid">
{{range .Photos}} {{range .Photos}}