You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to see the inclusion of a block/template inheritance plugin for EJS in order to approximate that inherent functionality with Jade. Some interesting possibilities include pejs and ejs-locals. I love Jade.. but with many of my projects EJS would be the preferable choice. Having content blocks would allow me to make small changes without having to change partials or have too much logic and markup in my _data.json.
The text was updated successfully, but these errors were encountered:
Great idea, thanks for opening up an issue. @silentrob took a look at your suggestions and said pejs looks more promising, since ejs-locals already has its own partial function. Have you used either of them before?
I have tested both individually, but have not as of yet successfully tested it in harp. I have tried including it in a node module in the root folder, and even tried adding it to terraform, but alas, I am no Node Ninja and am in need of the proper entry point.
pejs should just drop into terraform because I think it is a superset. Changing the package definition from ejs to pejs and updating the local package should do the trick.
I would like to see the inclusion of a block/template inheritance plugin for EJS in order to approximate that inherent functionality with Jade. Some interesting possibilities include pejs and ejs-locals. I love Jade.. but with many of my projects EJS would be the preferable choice. Having content blocks would allow me to make small changes without having to change partials or have too much logic and markup in my _data.json.
The text was updated successfully, but these errors were encountered: