#{extends 'main.html' /} #{set title:'Home page' /} #{if frontPost}

${frontPost.title}

${frontPost.content}
${frontPost.author.fullname} on ${frontPost.postedAt.format('MMM dd')}
${frontPost.comments.size() ?: 'no'} comment${frontPost.comments.size().pluralize()} #{if frontPost.comments} , latest by ${frontPost.comments[0].author} #{/if}
#{/if}