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
{{ define "nav" }}
<nav>
<h2>
	<a href="/{{ .Username }}">Vore</a>
</h2>
	<a href="/discover">discover</a>
	{{ if .LoggedIn }}
	<a href="/feeds">settings</a>
	<a href="/logout">logout</a>
	{{ else }}
	<a href="/login">login</a>
	{{ end }}
</nav>
{{ end }}