<#macro wrapper title> ${title} <#nested> <#macro header subreddit>
<#if subreddit?contains("+")> <#list subreddit?split("+") as multiRedditName> <#if multiRedditName?is_first>/r/<#else>+${multiRedditName} <#else> /r/${subreddit} <#nested>
<#macro postSummary post>
${post.title} (${post.domain})
<@pluralise post.score "point"/> by ${post.author} in ${post.subredditPath} ${post.relativeCreatedDate} | <@pluralise post.commentCount, "comment"/>
<#macro postComment comment>
<#if comment.author?has_content>
${comment.author} <#if comment.flairText?has_content>${comment.flairText} | ${comment.relativeCreatedDate} | <@pluralise comment.score "point"/>
${comment.bodyHtmlUnescaped?no_esc}
<#list comment.replies as childComment> <@postComment childComment/>
<#else> TODO Load more comments...
<#macro pluralise count word> <#if count == 1> ${count} ${word} <#else> ${count} ${word}s