{{define "index.html"}}{{template "head" .}} {{$st := .Body.Stats}}

Forum

    {{range .Body.Categories}}
  1. {{.Name}}Last PostThreads / Posts

      {{range $f := .Forums}}
    1. {{$f.Area.Name}}

      {{if $f.Area.Description}}

      {{$f.Area.Description}}

      {{end}}
      • Threads: {{num $f.Topics}}
      • Posts: {{num $f.Area.Messages}}
      {{with $f.Last}}

      {{truncate $f.LastTopic.Subject 30}}

      {{vbdate .Created}}, {{vbtime .Created}}

      {{else}}

      Never

      {{end}}
    2. {{end}}
  2. {{end}}

What's Going On?

{{len .Body.Online}} {{if eq (len .Body.Online) 1}}user is{{else}}users are{{end}} on the BBS

    {{range $i, $n := .Body.Online}}
  1. {{$n.User}}
  2. {{else}}
  3. No one is on the BBS just now.
  4. {{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}}
Icon Legend
Contains unread posts
Contains no unread posts
{{template "foot" .}}{{end}}