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
+23 -21
View File
@@ -1,24 +1,26 @@
<!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/user'); %>
</header>
<div id="posts">
<% for (let index = posts.length - 1; index >= 0; index--) { %>
<% if (posts[index].userID == userID) { %>
<%- include('../posts/user', {post: posts[index], postID: index, user: user, 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/user'); %>
</header>
<div id="posts">
<% for (let index = posts.length - 1; index >= 0; index--) { %>
<% if (posts[index].userID == userID) { %>
<%- include('../posts/user', {post: posts[index], postID: index, user: user, comments: comments[index]}); %>
<% } %>
<% } %>
</div>
<footer id='footer'>
<%- include('../partials/footer'); %>
</footer>
</div>
</body>
</html>