Update diary view with new buttons

This commit is contained in:
2026-04-15 12:32:28 +02:00
parent 02fa19272d
commit 8081c2ebd8
4 changed files with 45 additions and 3 deletions

View File

@@ -1,7 +1,8 @@
{{range .Days}}
<div class="diary-section">
<h2 class="diary-heading">
<h2>
{{if .URL}}<a href="{{.URL}}">{{.Heading}}</a>{{else}}{{.Heading}}{{end}}
{{if .EditURL}}<a href="{{.EditURL}}" class="btn btn-small">edit</a>{{end}}
</h2>
{{if .Content}}<div class="content">{{.Content}}</div>{{end}}
{{if .Photos}}