{{template "header.html" . }}

Topic List

{{range .ItemList}}
{{.PostCount}} replies
{{.LastReplyAt}}
{{.Title}} {{if .ForumName}}{{.ForumName}}{{end}}
Starter: {{.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}}
{{.LastUser.Name}}
Last: {{.LastReplyAt}}
{{else}}
There aren't any topics yet.{{if .CurrentUser.Perms.CreateTopic}} Start one?{{end}}
{{end}}
{{template "footer.html" . }}