use ejs in javascript code example Example: how to include in ejs <%- include('./partials/nav.ejs') %>