Rework templates to be less hard-coded

This commit is contained in:
Andrew-71 2024-03-30 13:51:29 +03:00
parent a66e26477c
commit 02e1c80c24
7 changed files with 28 additions and 32 deletions

View file

@ -1,8 +0,0 @@
{{define "main"}}
<h2>{{.Title}}</h2>
<ul>
{{range .Entries}}
<li><a href="/day/{{.Link}}">{{.Name}}</a></li>
{{end}}
</ul>
{{end}}