Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include Enhanced EJS Template Plugins #162

Closed
mfrohberg opened this issue Nov 22, 2013 · 3 comments
Closed

Include Enhanced EJS Template Plugins #162

mfrohberg opened this issue Nov 22, 2013 · 3 comments

Comments

@mfrohberg
Copy link

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.

@kennethormandy
Copy link
Collaborator

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?

@mfrohberg
Copy link
Author

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.

@silentrob
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants