ejs include dynamic partial

JavaScript
<%- include(page) %>
  // OR //
<%- include('partials/'+page) %>
Source

Also in JavaScript: