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

Unable to utilize EJS's include while using ejs-mate. #23

Open
ghost opened this issue Aug 21, 2016 · 0 comments
Open

Unable to utilize EJS's include while using ejs-mate. #23

ghost opened this issue Aug 21, 2016 · 0 comments

Comments

@ghost
Copy link

ghost commented Aug 21, 2016

In the EJS-Mate readme, it is recommended that we utilize EJS includes; however unless I've configured something incorrectly I am unable to call <%- include('template',{local:'values'}) %>, instead getting an error: "Unable to find "('template',{local:'values'}).ejs"

However this works:
`<% local = 'values' %>
<%- include template %>

It doesn't seem to matter what I do. Am I missing some kind of obvious option to turn of EJS-mate's include? I'd prefer to use the EJS but I'm some what new to both EJS & EJS-Mate.

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

No branches or pull requests

0 participants