Cleaned up templates

This commit is contained in:
2024-03-28 08:41:38 +01:00
parent 780daac675
commit 2ff9cb1051
11 changed files with 121 additions and 61 deletions

View File

@ -1,10 +1,13 @@
{{define "page-content"}}
{{range .}}
<div>
<h1>{{.Title}}</h1>
<p>{{.Description}}</p>
{{range .}}
<div>
<h1>{{.Title}}</h1>
<p>{{.Description}}</p>
</div>
{{end}}
</div>
{{end}}
<button hx-get="/publish-issue/" hx-target="#page-content">Ausgabe publizieren</button>
<button hx-get="/hub/" hx-target="#page-content">Abbrechen</button>
{{end}}