% if (user?.admin){ %>
You are admin, and you can go your page!
<% } %>
AKF
FORUM
<% if (user){ %>
<%= user.name %>
Logout
<%=(user.theme === "default" ? "black" : "default" ) + " mode" %>
<% } else { %>
Login
Register
<% } %>
Threads
Users
Search
Create Thread