small pixel drawing of a pufferfish vore

files/nav.tmpl.html

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
{{ define "nav" }}
<nav>
<h2>
	<a href="/{{ .Username }}">Vore</a>
	<!--	<small>"{{ .CutePhrase }}"</small> --!>
</h2>
<
	{{ if .LoggedIn }}
	<a href="/feeds">settings</a> |
	<a href="/logout">logout</a>
	{{ else }}
	<a href="/login">login</a>
	{{ end }}
>
</nav>
{{ end }}