Rework templates to be less hard-coded
This commit is contained in:
parent
a66e26477c
commit
02e1c80c24
7 changed files with 28 additions and 32 deletions
8
pages/list.html
Normal file
8
pages/list.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
{{define "main"}}
|
||||
<h2>{{.Title}}</h2>
|
||||
<ul>
|
||||
{{range .Entries}}
|
||||
<li><a href="/{{.Link}}">{{.Title}}</a></li>
|
||||
{{end}}
|
||||
</ul>
|
||||
{{end}}
|
Loading…
Add table
Add a link
Reference in a new issue