#{extends 'main.html' /} #{set title:'Blog' /}

${user.firstName} ${user.lastName} 's Blog

Published Posts

#{list items:user.posts, as:'post'}

${post.title}

${post.content}

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

${comment.content} : ${comment.author.firstName} : on : ${comment.postedAt.format('dd MMM yy HH:mm:ss')}


#{/list} #{if loggedInUser}

Add a comment

#{/if}
#{/list}