{{define "index.html"}}{{template "head" .}} {{$st := .Body.Stats}} {{range .Body.Categories}}
| {{.Name}} | ||||
| Forum | Threads | Posts | Last Post | |
| {{$f.Area.Name}}{{if $f.Area.Description}} {{$f.Area.Description}} {{end}} |
{{num $f.Topics}} | {{num $f.Area.Messages}} | {{with $f.Last}}{{truncate $f.LastTopic.Subject 25}} {{vbdate .Created}}, {{vbtime .Created}} by {{.From}}{{else}} Never {{end}} |
|
| Board Statistics | |
| Who's Online [Complete List] | |
| {{len .Body.Online}} {{if eq (len .Body.Online) 1}}user{{else}}users{{end}} on the BBS ({{len .Body.Online}} members, 0 of whom are invisible, and 0 guests). {{range $i, $n := .Body.Online}}{{if $i}}, {{end}}{{$n.User}}{{end}} |
|
| Board Statistics | |
| Our members have made a total of {{num $st.Posts}} posts in {{num $st.Topics}} threads. We currently have {{num $st.Members}} members registered.{{with $st.Newest}} Please welcome our newest member, {{.Name}}{{end}} |
|