EJS include statement forces html partial content into the body tag
I’m having troubles with EJS forcing the content of an included ejs partial element into the body tag. index.ejs <!DOCTYPE html> <html> <body> <p>Hello World!</p> </body> <footer> <%- include("../partials/footer") %> </footer> </html> partials/footer.ejs <div> <h3>Legal</h3> <a href="/legal/terms">Terms of Service</a> </div> Although the result of this is the footer being inside of the body tag as… Read More EJS include statement forces html partial content into the body tag