.pager-holder .comments-pager span#comments-count.comment-count include /utilities/pager +pager hr.comments-top-hr.mt-3 .d-flex.flex-row.w-100.mb-4 ul#comments-container.comments-container.pe-1 include /utilities/comments-input-text if comments script(nonce=cspNonce). const initialComments = !{ JSON.stringify(comments) } const commentEls = document.getElementById('comments-container').children initialComments.forEach((c, i) => {commentEls[i].dataObject = c})