{{template "header.html" . }}

All Topics

{{if ne .CurrentUser.ID 0}} {{if .ForumList}}
{{else}}
{{end}}
{{end}}
{{if ne .CurrentUser.ID 0}} {{if .ForumList}} {{end}} {{end}}
{{range .TopicList}}
{{if .Creator.Avatar}}{{end}} {{.Title}} {{if .ForumName}}{{.ForumName}}{{end}}
{{.Creator.Name}} {{/** TODO: Avoid the double '|' when both .IsClosed and .Sticky are set to true. We could probably do this with CSS **/}} {{if .IsClosed}} | 🔒︎{{end}} {{if .Sticky}} | 📍︎{{end}}
{{.PostCount}} replies
x topics
{{if .LastUser.Avatar}}{{end}} {{.LastUser.Name}}
Last: {{.LastReplyAt}}
{{else}}
There aren't any topics yet.{{if .CurrentUser.Perms.CreateTopic}} Start one?{{end}}
{{end}}
{{template "footer.html" . }}