extend and block feature in ejs
mdtausifiqbal opened this issue · 2 comments
mdtausifiqbal commented
I came from jinja2 templating, and feeling there is a lack of block and extend features in ejs. please add this feature to ejs.
mde commented
EJS has partials. Anything you might want to do with block or extend, you can do with partials.
RobotoSkunk commented
Yeah, partials exist, but they're not efficient as blocks if the layout uses stuff like containers.
They can be done with partials, but in a dirtiest way