WIP Redesign

This commit is contained in:
2026-04-17 10:54:06 +02:00
parent ec94580ab5
commit 268ffcdd27
11 changed files with 174 additions and 505 deletions

View File

@@ -1,9 +1,9 @@
{{range .Days}}
<div class="diary-section">
<h2>
{{if .URL}}<a href="{{.URL}}">{{.Heading}}</a>{{else}}{{.Heading}}{{end}}
{{if .EditURL}}<a href="{{.EditURL}}" class="btn btn-small">edit</a>{{end}}
</h2>
<section class="diary-section">
<header class="diary-section-header">
<h2>{{if .URL}}<a href="{{.URL}}">{{.Heading}}</a>{{else}}{{.Heading}}{{end}}</h2>
{{if .EditURL}}<a href="{{.EditURL}}" role="button" class="secondary outline section-edit">edit</a>{{end}}
</header>
{{if .Content}}<div class="content">{{.Content}}</div>{{end}}
{{if .Photos}}
<div class="diary-photo-grid">
@@ -12,5 +12,5 @@
{{end}}
</div>
{{end}}
</div>
</section>
{{end}}