akf-forum/views/threads.ejs

25 lines
619 B
Text
Raw Normal View History

2022-03-13 16:16:46 +03:00
<!DOCTYPE html>
<html lang="en">
2022-04-06 21:38:25 +03:00
<%- include("extra/header", {title: "Thread list" }) %>
2022-03-26 23:28:10 +03:00
<body>
<%- include("extra/navbar", {user}) %>
<h1>Threads:</h1>
<ul>
<% threads.forEach(thread=>{ %>
<li>
2022-04-06 21:14:46 +03:00
<h1 style="display: inline;"> <a href=<%= thread.getLink() %> ><%= thread.title %></a></h1>
<h3 style="display: inline;"> | By <%= thread.author.name %></h3>
2022-03-26 23:28:10 +03:00
</li>
<% }); %>
</ul>
<%- include("extra/footer") %>
</body>
2022-03-13 16:16:46 +03:00
2022-02-26 21:12:54 +03:00
</html>