small pixel drawing of a pufferfish vore

files/user.tmpl.html

{{ define "user" }}
{{ template "head" . }}
{{ template "nav" . }}

{{ $length := len .Data.Items }} {{ if eq $length 0 }}
{{ if .LoggedIn }}
<p> -> <a href="/feeds">add your first feed</a></p>
{{ end }}
{{ end }}

<ul>
{{ range .Data.Items }}
<a href="{{ .Link }}">
	<li>
		{{ .Title }}
		<span class=puny>
			{{ .Link | printDomain }}
		</span>
		<br>
		<span class=puny>
			{{ .Date.Format "2006-01-02" }}
		</span>
	</li>
</a>
{{ end }}
</ul>

{{ template "tail" . }}
{{ end }}