@comments = [data-v-component-comments] @comment = [data-v-component-comments] [data-v-comment] @comment|deleteAllButFirstChild @comments|prepend = _component['comments'][$_comments_idx] ?? []; $count = $comments['count'] ?? 0; $limit = isset($comments['limit']) ? $comments['limit'] : 5; ?> @comment|before = ['comment_id' => 1, 'content' => '']] : false; $_comments = empty($_comments) ? $_default : $_comments; if($_comments && is_array($_comments)) { foreach ($_comments as $index => $comment) {?> @comment|data-comment_id = $comment['comment_id'] @comment|addClass = @comment|id = @comment [data-v-comment-content] = $comment['content'] @comment img[data-v-comment-*]|src = $comment['@@__data-v-comment-(*)__@@'] @comment img[data-v-comment-*]|width = @comment [data-v-comment-*]|innerText = $comment['@@__data-v-comment-(*)__@@'] @comment a[data-v-comment-*]|href = $comment['@@__data-v-comment-(*)__@@'] @comment|after =