all repos — flounder @ 1d6c815b88efb0faae7dfbdcda6167e593e8c3cf

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>