small pixel drawing of a pufferfish vore

files/nav.tmpl.html

{{ define "nav" }}
<nav>
	<h2><a href="/{{ .Username }}">vore</a></h2>
	<hr>
	<span class=left-text>
		| {{ .CutePhrase }}
	</span>
	<span class=right-text>
		{{ if .LoggedIn }}
		<a href="/feeds">my feeds</a></h3> |
		<a href="/logout">logout</a>
		{{ else }}
		<a href="/login">login</a>
		{{ end }}
		|
	</span>
	<hr>
</nav>
{{ end }}