add one for tags but it might be inefficient as I don't store all tags in an array or anything...
14 lines
484 B
Plaintext
14 lines
484 B
Plaintext
<!DOCTYPE html>
|
|
<html lang="<%= config.charset %>">
|
|
<head>
|
|
<%- include("../partials/head") %>
|
|
</head>
|
|
<body>
|
|
<% for (let postID = 0; postID < comments.length; postID++) { %>
|
|
<% for (let comment_index = 0; comment_index < comments[postID].length; comment_index++) { %>
|
|
<a href="/comment/<%= comments[postID][comment_index]["id"] %>"><%= comments[postID][comment_index]["id"] %></a><br/>
|
|
<% }; %>
|
|
<% }; %>
|
|
</body>
|
|
</html>
|