recent comments x3
All checks were successful
Build Org Website / build (push) Successful in 52s

This commit is contained in:
2026-05-10 22:45:46 +01:00
parent 0d9b3cfbd2
commit 8328d43650
2 changed files with 8 additions and 1 deletions

View File

@@ -36,6 +36,7 @@ function createComment(comment) {
const wrapper = document.createElement("div");
wrapper.className = "comment";
wrapper.dataset.id = comment.id;
wrapper.id = `comment-${comment.id}`;
const author = document.createElement("strong");
author.textContent = comment.author || "Anonymous";