{{template "header.html" . }}
{{range .ItemList}}
{{.PostCount}} replies
{{.LastReplyAt}}
{{.Title}} {{if .ForumName}}{{.ForumName}}{{end}}
Starter: {{.Creator.Name}} {{/** TO-DO: Avoid the double '|' when both .Is_Closed and .Sticky are set to true. We could probably do this with CSS **/}} {{if .Is_Closed}} | 🔒︎{{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" . }}