all repos — flounder @ e8c4efc8ff0efd2f3f607384d88a92bf18e364c3

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>