{{define "profile.html"}}{{template "head" .}} {{$u := .Body.U}}
{{range .Body.Recent}} {{else}}{{end}}
Profile for {{$u.Name}}
Avatar{{template "avatar" (av $u.Name "huge")}}
Member title{{if $u.Sysop}}Administrator{{else if $u.Locked}}BANNED{{else}}Member{{end}}
Joined{{shortdate $u.Created}}
Last visit{{shortdate $u.LastLogin}} {{clock $u.LastLogin}}
Total posts{{num $u.Posts}}
Calls{{num $u.Logins}}
Location{{if $u.Location}}{{$u.Location}}{{else}} {{end}}
Interests{{if $u.About}}{{$u.About}}{{else}} {{end}}
Status{{range .Body.On}}On node {{.Num}} by {{.Via}}: {{.Activity}}
{{else}}Offline{{end}}
Recent posts
{{shortdate .Created}}
{{clock .Created}}
{{.Subject}}
{{snippet .Body 160}}
No posts to show.
{{template "foot" .}}{{end}}