{{define "index.html"}}{{template "head" .}} {{$st := .Body.Stats}}
| Forum | Last Post | Threads | Posts | |
| {{.Name}} | ||||
| {{if $f.Area.Description}} {{$f.Area.Description}} {{end}} |
{{with $f.Last}} by {{.From}} {{else}}Never {{end}} |
{{num $f.Topics}} | {{num $f.Area.Messages}} | |
| What's Going On? | |
| Currently Active Users: {{len .Body.Online}} | |
| {{range $i, $n := .Body.Online}}{{if $i}}, {{end}}{{$n.User}}{{else}}No one is on the BBS just now.{{end}} | |
| {{.BBS}} Statistics | |
Threads: {{num $st.Topics}}, Posts: {{num $st.Posts}}, Members: {{num $st.Members}} {{with $st.Newest}}Welcome to our newest member, {{.Name}} {{end}} | |
| Contains new posts | Contains no new posts |