and the footer was a footer type with no id, so now they are both both. Also added some margins at the top and bottom of the page in CSS
27 lines
978 B
Plaintext
27 lines
978 B
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<%- include('../partials/head'); %>
|
|
</head>
|
|
<body>
|
|
<header id="header">
|
|
<%- include('../headers/site_wide'); %>
|
|
<%- include('../headers/tag'); %>
|
|
</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]}); %>
|
|
<% } %>
|
|
<% }) %>
|
|
<% } %>
|
|
<% } %>
|
|
</div>
|
|
<footer id='footer'>
|
|
<%- include('../partials/footer'); %>
|
|
</footer>
|
|
</body>
|
|
</html>
|