added a main id so central section can be styled

This commit is contained in:
2026-06-01 12:46:39 +01:00
parent 9b10188066
commit 1a0b16feb2
11 changed files with 244 additions and 202 deletions
+27 -25
View File
@@ -1,28 +1,30 @@
<!DOCTYPE html>
<html lang="en">
<head>
<%- include('../partials/head'); %>
</head>
<body>
<header id="site-header">
<%- include('../headers/site_wide'); %>
</header>
<header id='page-header'>
<%- 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>
<head>
<%- include('../partials/head'); %>
</head>
<body>
<div id="main">
<header id="site-header">
<%- include('../headers/site_wide'); %>
</header>
<header id='page-header'>
<%- 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>
</div>
</body>
</html>