%- include("extra/header", { title: thread.title }) %>
<%- include("extra/navbar", {user}) %>
<%= thread.title %>
<% if (user && !thread.deleted){ %>
<% } else if (thread.deleted) { %>
This thread has been deleted
<% }; %>
<% if (!user){ %>
Guests cant view messages!
<% }%>
<% if (user){ %>
<% }%>
<%- include("extra/footer") %>