{{template "header.html" . }} {{if gt .Page 1}}
{{end}} {{if ne .LastPage .Page}}
{{end}}

{{.Title}}

{{if ne .CurrentUser.ID 0}} {{if .CurrentUser.Perms.CreateTopic}}
{{else}}
{{end}}
{{end}}
{{range .ItemList}}
{{.PostCount}} replies
{{.LastReplyAt}}
{{.Title}}
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 in this forum yet.{{if .CurrentUser.Perms.CreateTopic}} Start one?{{end}}
{{end}}
{{template "footer.html" . }}