all repos — flounder @ d083fbf8a06a861d62e355ad64192bd2c313565d

A small site builder for the Gemini protocol

templates/index.html (view raw)

 1{{template "header" .}}
 2<h1>🐟{{.Config.SiteTitle}}!</h1>
 3{{template "nav.html" .}}
 4<br>
 5<p>
 6Welcome to flounder! For more information and site updates, check out the <a href="//admin.{{$.Config.Host}}">admin page</a></p>
 7<h2>Recently updated files:</h2>
 8{{ range .Files }}
 9<div>
10  <a href="//{{.Creator}}.{{$.Config.Host}}" class='person-link'>
11   {{ .Creator }}</a>
12  <em>{{.TimeAgo}}</em>
13  <a href="//{{.Creator}}.{{$.Config.Host}}/{{.Name}}">
14   {{ .Name}}
15  </a>
16</div>
17{{end}}
18<br>
19<h2>All users:</h2>
20{{ range .Users}}
21<a href="//{{.}}.{{$.Config.Host}}" class='person-link'>{{.}}</a>
22{{end}}
23{{template "footer" .}}