<%if (locals.error) { %> <%= error.message %> <% } else { %> <%= title %> <% } %> <% if (locals.path) { %> <% } %> <%- include('header') %> <%if (locals.error) { %> <%- include('fail') %> <% } else if (locals.redirect) { %> <%- include('redirect') %> <% } else { %> <%- include('join') %> <% } %> <%- include('footer') %> <%- include('fathom') %>