all repos — flounder @ 5c25dd5f433771a06e2d3f88173e23bfcdecaf48

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 {{.Config.SiteTitle}}! 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 class="indent-wrap">
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" .}}