{{define "title"}}Forums{{end}} {{define "content"}}
{{$Root := .}} {{template "ForumTabs" .}} {{if .IsExploreTab}}

Tip: you can "quote exact phrases" and -exclude words (or -"exclude phrases") from your search.

Reset

Found {{.Pager.Total}} forum{{Pluralize64 .Pager.Total}}. (page {{.Pager.Page}} of {{.Pager.Pages}}).

{{SimplePager .Pager}}
{{end}} {{range .Categories}} {{$IsMyList := eq .Category "My List"}}
{{if .Category}}

{{.Category}} {{if $IsMyList}} {{end}}

{{end}} {{if and $IsMyList (gt $Root.Pager.Pages 1)}} {{SimplePager $Root.Pager}} {{end}} {{if eq (len .Forums) 0}} There are no forums under this category. {{if not $Root.CurrentUser.Explicit}}Your content filters (non-explicit) may be hiding some forums.{{end}} {{else}} {{range .Forums}} {{$Stats := $Root.ForumMap.Get .ID}}

{{if $Root.FollowMap.Get .ID}} {{end}} {{.Title}}

{{if .Description}} {{ToMarkdown .Description}} {{else}} No description {{end}}
{{if .Explicit}} Explicit {{end}} {{if .Privileged}} Privileged {{end}} {{if .PermitPhotos}} Photos {{end}} {{if .Private}} Private {{end}}
{{if .Category}} by {{PrettyTitle}} {{else}} by {{template "avatar-16x16" .Owner}} {{if .Owner.Username}} {{or .Owner.Username "[unavailable]"}} {{else}} [unavailable] {{end}} {{end}} {{$FollowerCount := $Root.FollowersMap.Get .ID}} {{if $FollowerCount}} {{$FollowerCount}} {{end}}

Latest Post

{{if $Stats.RecentThread}} {{$Stats.RecentThread.Title}} by {{$Stats.RecentThread.Comment.User.Username}}
{{if and $Stats.RecentPost (not (eq $Stats.RecentPost.ID $Stats.RecentThread.CommentID))}} Last comment by {{$Stats.RecentPost.User.Username}} {{end}} {{SincePrettyCoarse $Stats.RecentThread.UpdatedAt}} ago
{{else}} No posts found. {{end}}

Topics

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

Posts

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

Users

{{if $Stats}} {{$Stats.Users}} {{else}} err {{end}}
{{end}} {{end}} {{if and $IsMyList (gt $Root.Pager.Pages 1)}} {{SimplePager $Root.Pager}}
{{end}}
{{end}} {{if .IsExploreTab}}
{{SimplePager .Pager}}
{{end}} {{end}}