<% if (page.pageid) { %> <%- partial('_custom/' + page.pageid, { page: page, post: page }) %> <% } else { %> <%- page.content %> <% } %>