{{define "index.html"}}{{template "head" .}}

{{if .User}}You last visited: {{vbdate .User.LastLogin}} at {{vbtime .User.LastLogin}}.
{{end}}The time now is {{vbtime .Now}}.

{{range .Body.Categories}} {{range $f := .Forums}} {{end}} {{end}}
 ForumPostsThreadsLast Post
{{.Name}}
{{$f.Area.Name}}{{if $f.Area.Description}}
{{$f.Area.Description}}{{end}}
{{num $f.Area.Messages}} {{num $f.Topics}} {{with $f.Last}}{{vbdate .Created}} {{vbtime .Created}}{{else}}Never{{end}}

All times are server time. {{with .Body.Stats.Newest}}Our newest member is {{.Name}}. {{end}}{{if .Body.Online}}On the BBS now: {{range $i, $n := .Body.Online}}{{if $i}}, {{end}}{{$n.User}}{{end}}.{{end}}

{{if not .User}}
Login:
{{end}}
New posts   No new posts
{{template "foot" .}}{{end}}