{{define "index.html"}}{{template "head" .}} {{$st := .Body.Stats}}
Our users have posted a total of -{{num $st.Posts}}- messages.
We have -{{num $st.Members}}- Registered Users.
{{with $st.Newest}}The newest Registered User is -{{.Name}}-.
{{end}} -{{len .Body.Online}}- {{if eq (len .Body.Online) 1}}user is{{else}}users are{{end}} currently browsing the BBS.
{{if .User}}You are logged in as {{.User.Name}}.
{{else}}You are not logged in. Login.{{end}}
{{range .Body.Categories}} {{range $f := .Forums}} {{end}} {{else}} {{end}}
 ForumTopicsPostsLast Post
{{.Name}}
{{$f.Area.Name}}{{if $f.Area.Description}}
{{$f.Area.Description}}{{end}}
{{num $f.Topics}} {{num $f.Area.Messages}} {{with $f.Last}}{{stamp .Created}}
by {{.From}}{{else}}No Posts{{end}}
There are no forums open to you yet.{{if not .User}} Login to see more.{{end}}
= New Posts since your last visit.
= No New Posts since your last visit.
{{template "foot" .}}{{end}}