include header and footer in ejs code example Example: include header and footer in ejs <%- include('./partials/nav.ejs') %>