wikingo/templates/list.html

17 lines
330 B
HTML
Raw Permalink Normal View History

2022-03-22 16:36:18 +01:00
{{define "title"}}
Wikingo - List
{{end}}
{{define "body"}}
2022-04-04 22:16:07 +02:00
{{ if .title }}
<h1>{{ .title }}</h1>
{{ else }}
2022-03-22 16:36:18 +01:00
<h1>List</h1>
2022-04-04 22:16:07 +02:00
{{ end }}
2022-03-22 16:36:18 +01:00
<ul>
{{ range .pages }}
2022-04-04 22:16:07 +02:00
<li><a href="/{{ .Name }}/{{ .Version }}">{{ .Name }}, v{{ .Version }}</a>.- {{ .Body }}</li>
2022-03-22 16:36:18 +01:00
{{ end }}
</ul>
{{end}}