all repos — flounder @ f434d18e0dcfbd41fe123bf9a5b853f8016929a8

A small site builder for the Gemini protocol

templates/nav.html (view raw)

 1<nav>
 2  <a href="/">home</a>
 3{{ if .LoggedIn }}
 4  <a href="/my_site">my_site</a>
 5  <a href="/logout">logout</a>
 6{{ else }}
 7  <a href="/register">register</a>
 8  <a href="/login">login</a>
 9{{ end }}
10</nav>