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

<%= thread.title %>

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

<% if (user && !thread.deleted){ %> <% } else if (thread.deleted) { %>

This thread has been deleted

<% }; %>
<% if (!user){ %>

Guests cant view messages!

<% }%>


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