#{extends '_components/_main.html' /} #{set title:'Blogs' /} #{set activePage:'blogs' /} #{include "_components/_menu.html" /}

${post.title} - ${new Date(post.time).since()} (${post.comments.size()} comments)

${post.content}

#{list items:post.comments, as:'comment'}

#{if user}#{/if} ${comment.user.firstName} ${comment.user.lastName} #{if user}#{/if} - ${comment.subject} ( ${new Date( comment.time ).since()} )

${comment.content}
*{*** Show the comment remove button only to owner of that comment ***}* #{if user && comment.user.id==user.id} remove comment #{/if}

#{/list}#{else}
No comments yet.
#{/else}
#{if user}
#{/if}