<%= threadinfo.name %>
<%= threadinfo.description %> <%- include('../partials/format_date',{format_date:threadinfo.creationdate}); %>
<% messages.forEach((m) => { %>
<%- include('../partials/message',{m:m}); %>
<% }); %>
<%
if(locals.session.logged_in){
%>
<% } else {; %>
You must login to post a message.
<% } %>