add one for tags but it might be inefficient as I don't store all tags in an array or anything...
14 lines
384 B
Plaintext
14 lines
384 B
Plaintext
<!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="/post/<%= postID %>"><%= posts[postID]["title"] %></a><br/>
|
|
<% }; %>
|
|
<% }; %>
|
|
</body>
|
|
</html>
|