<%- include("extra/header", { title: thread.title }) %> <%- include("extra/navbar", {user}) %>

<%= thread.title %>

By > <%= thread.author.name %> alt=<%= thread.author.name %>>

<% if (user){ %>
<% }; %>
<% messages.forEach(message=>{ %> <% if (message){ %>

<%=new Date(message.time).toLocaleString() %>

alt=<%= message.author.name %>> > <%= message.author.name %>:

<%= message.content %>


<% if (user){ %>

<%= message.reactCount %>

<% } %>
<% } else { %>

DELETED MESSAGE

<% } %>
<% }); %>


<% if (user){ %> <%} else {%> <% }%>
<% if (user){ %> <% }%> <%- include("extra/footer") %>