{{define "profile.html"}}{{template "head" .}} {{$u := .Body.U}}

Viewing profile - {{$u.Name}}

{{template "avatar" (av $u.Name "huge")}}
{{if $u.Sysop}}Site Admin{{else}}{{group $u}}{{end}}
Username:
{{$u.Name}}{{if .Body.On}} [ Online ]{{end}}
{{if $u.Location}}
Location:
{{$u.Location}}
{{end}} {{if $u.About}}
Interests:
{{$u.About}}
{{end}}

User statistics

Joined:
{{subtime $u.Created}}
Last visited:
{{subtime $u.LastLogin}}
Total posts:
{{num $u.Posts}}
Calls:
{{num $u.Logins}}
{{range .Body.On}}
Now:
node {{.Num}} by {{.Via}}: {{.Activity}}
{{end}}
{{template "foot" .}}{{end}}