-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Crash if included html that extends from other html #140
Comments
why doesn't |
Because I wanted to have the least amount of themes to recreate the error |
Does including usually works? The theme rewriter does not mind the content of the files so I don't think the issue is there. What's the error message of the crash? |
there's no message, I believe, since torchbear panics. see jazzdotdev/jazz#214 (comment) |
"The theme loader will crash"....? |
It would've be nice if you had made a lighttouch branch with the themes, so one can just clone it and run it |
I can include the holder if that holder does not extends the parent |
I can also |
@Arnaz87 @LuisReyes98 what exactly is the change we need to make now? something like, "add support for X in Y".. |
Error report, using tera 1.0 alpha |
Clone this branch of lighttouch |
This error is most likely a Tera error, we need a pure rust-tera example of it, so that either Keats or us can fix it. |
the line the report links to |
fixed upstream in foundpatterns/tera master |
Issue
The theme loader will crash if it is included a component
{% include "component.html" %}
and that component is extending from something else
{% extends "component-2.html" %}
Recreating the error
trying to run the theme multi-component-example thats has as parents component-holder and component-sitter will cause the it to crash
The text was updated successfully, but these errors were encountered: