{{define "index.html"}}{{template "head" .}} {{$st := .Body.Stats}}
{{with $st.Newest}}{{$.BBS}} welcomes its newest member {{.Name}}
{{end}} {{.BBS}} has {{num $st.Members}} members with {{num $st.Posts}} posts in {{num $st.Topics}} topics
{{range .Body.Categories}} {{range $f := .Forums}} {{end}} {{else}} {{end}}
 Forum InfoRepliesTopicsLast Post
» {{.Name}}
{{if $.User}}{{else}} {{end}} {{$f.Area.Name}}{{if $f.Area.Description}}
{{$f.Area.Description}}{{end}}
{{if $f.Unread}}{{num $f.Replies}}{{else}}{{num $f.Replies}}{{end}} {{num $f.Topics}} {{with $f.Last}}Date: {{shortdate .Created}}
Time: {{clock .Created}}
by: {{.From}} · »{{else}}N/A{{end}}
There are no forums open to you yet.{{if not .User}} Log in to see more.{{end}}
{{plural (len .Body.Online) "user is" "users are"}} on the BBS just now
Total members: {{len .Body.Online}}
{{range $i, $n := .Body.Online}}{{if $i}}, {{end}}{{$n.User}} ({{$n.Via}}){{end}}
{{if .User}}
New posts since your last visit
No new posts since your last visit
{{else}}

You must be logged in to view the post markers

{{end}}
{{template "foot" .}}{{end}}