Layout and partial problem in ejs template
Dear Express team , I recently update my expressjs to the latest version , but I found that I could not use layout and partial anymore . I don't know if this is an issue or not .
Since Jade template is hard to read , I would prefer to use ejs template . I really like layout and partial function , or if there are any other way to use this function .
Be sure to read his migration guide: https://github.com/visionmedia/express/wiki/Migrating-from-2.x-to-3.x
layout is template specific now.
yeah when I have a moment I'll be adding something to EJS instead of the old opinionated layout/partial stuff in Express
https://github.com/visionmedia/ejs/issues/35 for ref
Please bring back ejs layout :(