{{define "index.html"}}{{template "head" .}} {{if .User}}
Welcome back, {{.User.Name}}. The board's newest posts are marked below.
{{end}} {{range .Body.Categories}}
{{.Name}}
{{range $f := .Forums}} {{end}}
ForumTopicsRepliesLast Post Info
{{$f.Area.Name}}{{if $f.Area.Description}}
{{$f.Area.Description}}{{end}}
{{num $f.Topics}} {{num $f.Replies}} {{with $f.Last}}{{when .Created}}
In: {{truncate $f.LastTopic.Subject 30}}
By: {{.From}}{{else}}-----{{end}}
 
{{else}}
Forums
There are no forums open to you yet.{{if not .User}} Log in to see more.{{end}}
{{end}}
Board Statistics
{{plural (len .Body.Online) "user is" "users are"}} on just now
{{range $i, $n := .Body.Online}}{{if $i}}, {{end}}{{$n.User}} ({{$n.Via}}){{else}}No one is on just now.{{end}}
Board Statistics
Our members have made a total of {{num .Body.Stats.Posts}} posts in {{num .Body.Stats.Topics}} topics
We have {{num .Body.Stats.Members}} registered members{{with .Body.Stats.Newest}}
The newest member is {{.Name}}{{end}}
{{template "foot" .}}{{end}}