* made all the ejs pages use "postID" as the variable for post indexes * split up en-GB and en-US
23 lines
680 B
Plaintext
23 lines
680 B
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<%- include('../partials/head'); %>
|
|
</head>
|
|
<body>
|
|
<div id="header">
|
|
<%- include("../headers/site_wide") %>
|
|
<%- include('../headers/user'); %>
|
|
</div>
|
|
<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}); %>
|
|
<% } %>
|
|
<% } %>
|
|
</div>
|
|
<footer>
|
|
<%- include('../partials/footer'); %>
|
|
</footer>
|
|
</body>
|
|
</html>
|