{{define "title"}}Forums{{end}} {{define "content"}}

Forums

To Do
{{if .CurrentUser.IsAdmin}} {{end}}
{{$Root := .}} {{range .Categories}}

{{.Category}}

{{if eq (len .Forums) 0}} There are no forums under this category. {{else}} {{range .Forums}} {{$Stats := $Root.ForumMap.Get .ID}}

{{.Title}}

{{if .Description}} {{ToMarkdown .Description}} {{else}} No description {{end}}
{{if .Explicit}} Explicit {{end}}

Latest Post

Hello world!

Topics

{{if $Stats}} {{$Stats.Threads}} {{else}} err {{end}}

Posts

{{if $Stats}} {{$Stats.Posts}} {{else}} err {{end}}
{{end}} {{end}}
{{end}} {{end}}