all repos — flounder @ 5c25dd5f433771a06e2d3f88173e23bfcdecaf48

A small site builder for the Gemini protocol

templates/index.gmi (view raw)

 1{{$host := .Host}}
 2# {{.SiteTitle}}!
 3
 4Welcome to {{.SiteTitle}}, a home for Gemini sites. {{.SiteTitle}} hosts small Gemini web pages over https and Gemini. Right now, the only way to make an account is via the https portal. Feel free to make an account and join if you'd like!
 5
 6=> gemini://admin.{{$host}} Admin page
 7=> https://{{$host}} View on HTTPS
 8
 9## Recently updated files:
10{{range .Files}}=> gemini://{{.Creator}}.{{$host}}/{{.Name}} {{.Creator}}: {{.Name}} ({{.TimeAgo}})
11{{end}}
12
13## All Users:
14{{range .Users}}=> gemini://{{.}}.{{$host}}
15{{end}}