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
+12 -10
View File
@@ -1,13 +1,15 @@
<!DOCTYPE html>
<html lang="<%= config.charset %>">
<head>
<%- include("../partials/head") %>
</head>
<body>
<% for (let postID = 0; postID < posts.length; postID++) { %>
<% if (posts[postID]["deleted"] != true) { %>
<a href="<%= config.site_path %>/post/<%= postID %>"><%= posts[postID]["title"] %></a><br/>
<% }; %>
<% }; %>
</body>
<head>
<%- include("../partials/head") %>
</head>
<body>
<div id="main">
<% for (let postID = 0; postID < posts.length; postID++) { %>
<% if (posts[postID]["deleted"] != true) { %>
<a href="<%= config.site_path %>/post/<%= postID %>"><%= posts[postID]["title"] %></a><br/>
<% }; %>
<% }; %>
</div>
</body>
</html>