27 lines
871 B
Plaintext
27 lines
871 B
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<%- include('../partials/head'); %>
|
|
</head>
|
|
<body>
|
|
<div id="header">
|
|
<%- include('../headers/site_wide'); %>
|
|
<%- include('../headers/tag'); %>
|
|
</div>
|
|
<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 == tag) { %>
|
|
<%- include('../posts/tag', {post: posts[index], postID: index}); %>
|
|
<% } %>
|
|
<% }) %>
|
|
<% } %>
|
|
<% } %>
|
|
</div>
|
|
<footer>
|
|
<%- include('../partials/footer'); %>
|
|
</footer>
|
|
</body>
|
|
</html>
|