node.js - How to use partials in Express.js layout? -
i have layout.ejs file contains site's basic boilerplate html markup: doctype declaration, head, body, footer, basics...
how go placing navigation in separate partial file , including layout? there particular require() or include() function doing this?
i using ejs view engine.
Comments
Post a Comment