-
Notifications
You must be signed in to change notification settings - Fork 57
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
Nunjucks inline if statement #83
Comments
@ArmorDarks - I'm not very familiar with this part of the code. Do you think you can create a patch that resolves this? I'd be more than happy to review it. |
Looks like #78 is the same issue. |
Thanks for reply I'd be glad to, but, unfortunately, I'm not an JS developer :( |
Eh, fat chance huh? Well then we should probably wait until #82 is done. |
This is quite old issue, and seems that 82 doesn't move fast either because of complexity... Is there any chances to see fix for inline if at least? it's most often encountered issue in Jinja and Nunjucks templates. |
Hi
It seems that Nunjucks inline if statement causing error in parsing:
Whenever I try to parse that file https://github.com/LotusTM/Kotsu/blob/master/source/layouts/_layout.nj it throughs following error:
It appears only if I try to run particularly this file — no issues with other.
Seems that following line causing troubles:
Nunjucks is pretty close to Jinja and if I'm not wrong, that inline statement shouldn't cause any troubles for parser, but it does.
The text was updated successfully, but these errors were encountered: