%- include("extra/meta", {title: "Thread list!" }) %>
<%- include("extra/navbar") %>
<%= title || "Threads" %>
<%= desp %>
<% threads.forEach(thread=>{ %>
<% if (thread.deleted) { %>
[DELETED]
<% } %> <%= thread.title %>
<% if (user?.admin && !thread.deleted){ %>
<% } %> <%= thread.author.name %>
<% }); %>
<% if(typeof page === "number"){ %>
<% if (page > 0){ %>
<% } %>
<% for(let i=0; i < pages; i++){ %>
<%= i+1 %>
<% } %>
<% if (pages-1 > page) { %>
<% } %>
<% } %>