26 lines
608 B
Plaintext
26 lines
608 B
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<%- include("extra/header", {title: "Main page!" }) %>
|
|
|
|
<body>
|
|
|
|
<%- include("extra/navbar", {user}) %>
|
|
|
|
|
|
<h1>Threads:</h1>
|
|
<ul>
|
|
<% threads.forEach(thread=>{ %>
|
|
<li>
|
|
<h1><a href=<%=links[threads.indexOf(thread)] %> > <%= thread.title %> by <%= thread.author.name
|
|
%></a>
|
|
</h1>
|
|
</li>
|
|
<% }); %>
|
|
</ul>
|
|
|
|
|
|
<%- include("extra/footer") %>
|
|
</body>
|
|
|
|
</html> |