For #monthAsString(request.params.month)#/#request.params.year#
// Get the comments for the posts
commentCount = application.ptBlog2.cedata.getCountForElementField(ceName="Comments2", fieldName="postID", fieldValue=posts[itm].values.postID);
// Check if comments are allowed
if ( posts[itm].values.allowComments EQ 1 )
renderComments = true;
else
renderComments = false;