%- include('partials/head', {page: page, user: user, baseUrl: baseUrl}); %>
<% if ( user ) { %> <%- include('partials/header', {page: page, user: user, baseUrl: baseUrl}); %> <% } %> <%- include(viewname, {page: page, params: params, query: query, user: user}) %> <%- include('partials/footer', {page: page, query: query, user: user}); %>