#{extends 'main.html' /}

# ${forum.name}

#{pluralize size:forum.postsCount, word:'post' /} in #{pluralize size:forum.topicsCount, word:'topic' /}

#{if connected}
Post a new topic
#{/if} #{pagination page:page ?: 1, size:forum.topicsCount /}

Topics | Posts | Views | Last Post
--- | --- | --- | ---
#{list items:forum.getTopics(page ?: 1, pageSize), as:'topic'}
${topic.subject} #{if topic.postsCount > pageSize} last page #{/if} | ${topic.postsCount} | ${topic.views} | ${topic.lastPost.postedAt.since()} by ${topic.lastPost.postedBy.name} (view)
#{/list}

#{if connected?.admin}
Administrator options

## Delete this forum

#{/if}