mixin renderCommentReview (comment) - var resourceId = comment.resource._id || comment.resource; article.uk-comment.dtp-site-comment header.uk-comment-header div(uk-grid).uk-grid-medium.uk-flex-middle .uk-width-auto if comment.author.picture && comment.author.picture.small img(src= `/image/${comment.author.picture.small._id}`).site-profile-picture.sb-small.uk-comment-avatar else img(src="/img/default-member.png").site-profile-picture.sb-small.uk-comment-avatar .uk-width-expand h4.uk-comment-title.uk-margin-remove= comment.author.displayName || comment.author.username .uk-comment-meta= moment(comment.created).fromNow() .uk-comment-body(class={ 'uk-text-muted': ['removed','mod-removed'].includes(comment.status) }) .comment-content!= marked.parse(comment.content)