-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Trying to create a theme with ONLY swig as template engine #483
Comments
tommy351
added a commit
that referenced
this issue
Feb 16, 2014
Add `only` param to partial helper Bind local context to helper functions
This bug will be fixed in the next version. I modified the Swig renderer. - return swig.compile(data.text)(locals);
+ return swig.render(data.text, {
+ locals: locals,
+ filename: data.path
+ }); |
Very thanks! ;) i had no idea where to fix it... going to use |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, i'm a user of Swig also on other projects..
I wanted to use it stand-alone, without EJS (so i don't have to learn the syntax!)
Seems impossible to use the
include
tag functionalityvery simple theme
Error Reported:
Any idea how i can fix this? Even with a PR ?
The text was updated successfully, but these errors were encountered: