Database reading changes should work, gotta implement same for writing and finish up testing then merge back into master

This commit is contained in:
deadvey
2026-03-07 17:56:53 +00:00
parent 30cec0f7f0
commit ad4efffed5
12 changed files with 74 additions and 147 deletions

View File

@@ -12,13 +12,7 @@
</header>
<div id="posts">
<% for (let index = posts.length - 1; index >= 0; index--) { %>
<% if ( posts[index].deleted != true) { %>
<% posts[index].tags.forEach((current_tag, tag_index) => { %>
<% if (current_tag.toLowerCase() == tag.toLowerCase()) { %>
<%- include('../posts/tag', {post: posts[index], postID: index, user: users[posts[index].userID], comments: comments[index]}); %>
<% } %>
<% }) %>
<% } %>
<%- include('../posts/tag', {post: posts[index], postID: index, user: users[posts[index].userID], comments: comments[index]}); %>
<% } %>
</div>
<footer id='footer'>