akf-forum/views/threads.ejs

26 lines
608 B
Text
Raw Normal View History

2022-03-13 16:16:46 +03:00
<!DOCTYPE html>
<html lang="en">
2022-03-26 23:28:10 +03:00
<%- 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>
2022-03-13 16:16:46 +03:00
2022-02-26 21:12:54 +03:00
</html>