2023-07-11 07:38:05 +00:00
|
|
|
{{define "title"}}Home{{end}}
|
|
|
|
|
|
|
|
{{define "main"}}
|
|
|
|
<h2>Latest Websites</h2>
|
2023-07-22 08:23:47 +00:00
|
|
|
{{ if .SiteEntries }}
|
|
|
|
<ul>
|
|
|
|
{{ range .SiteEntries }}
|
|
|
|
<li><a href="{{.Url}}">{{.Name}}</a> (<a href="/sites/view?id={{.Id}}">info</a>)</li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
{{ else }}
|
2023-07-11 07:38:05 +00:00
|
|
|
<p>There's nothing to see here yet!</p>
|
2023-07-22 08:23:47 +00:00
|
|
|
{{ end }}
|
2023-07-11 07:38:05 +00:00
|
|
|
{{end}}
|