webring/ui/html/pages/home.tmpl.html

15 lines
328 B
HTML
Raw Permalink Normal View History

{{define "title"}}Home{{end}}
{{define "main"}}
<h2>Latest Websites</h2>
{{ if .SiteEntries }}
<ul>
{{ range .SiteEntries }}
<li><a href="{{.Url}}">{{.Name}}</a> (<a href="/sites/view?id={{.Id}}">info</a>)</li>
{{ end }}
</ul>
<a href="/sites">Browse All</a>
{{ else }}
<p>There's nothing to see here yet!</p>
{{ end }}
{{end}}