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