guestbook/ui/html/pages/guestbooklist.view.tmpl.html

12 lines
340 B
HTML
Raw Normal View History

{{ define "title" }} Guestbooks {{ end }}
{{ define "main" }}
2024-11-11 19:55:01 +00:00
<h1>Guestbooks run by {{ .User.Username }}</h1>
<ul>
{{ range .Guestbooks }}
2024-11-11 19:55:01 +00:00
<li><a href="/guestbooks/{{ shortIdToSlug .ShortId }}">{{ with .SiteUrl }}{{ . }}{{ else }}Untitled{{ end }}</a></li>
{{ else }}
<p>No Guestbooks yet</p>
{{ end }}
</ul>
{{ end }}