%- include("extra/header", {title: "Main page!" }) %>
<%- include("extra/navbar") %>
<% if (user) { %>
Welcome, > <%= user.name %>
alt=<%= user.name %>>
You can press logout here:
<% } else { %>
Welcome, Guest!
You can press for register here:
<% } %>
Statistics:
-
Message count:
<%= messages %>
-
User count:
<%= users %>
-
Thread count:
<%= threads %>
-
Memory usage:
<%= mem.toFixed(2); %> MB
<%- include("extra/footer") %>