-
Notifications
You must be signed in to change notification settings - Fork 221
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
3-level inheritance not working #275
Comments
I'm running into this as well. @kylef @ilyapuchka @djbe Is this expected behavior? |
Same problem here, but this issue seems dead. Is this project still alive? |
I don't think this is expected. As far as I can tell from the test suite, this would appear to be working: https://github.com/stencilproject/Stencil/blob/22440c5/Tests/StencilTests/InheritanceSpec.swift#L21-L25 which expects https://github.com/stencilproject/Stencil/blob/22440c5/Tests/StencilTests/fixtures/base.html @kevinrenskers If you compare what you have to this test, is there anything in particular that stands out as a difference use-case? |
base.html:
articles.html:
year.html:
When I render the year.html template I would expect that the title would be "Articles in 2021" for example, but it's always just "Articles". |
@kylef The outer contructs in There may be other differentiating aspects. The above is just the first difference I |
It seems to me that the big difference is that our examples don't use |
I find a workaround but it's a bit annoying 😅 base.html:
articles.html:
year.html:
|
Issue
Grandchild blocks do not replace the Parent/Grandparent blocks. Appears that inheritance is not working as expected.
Given
base.html
latexmath_base.html
latexmath_inline.html
Expected
Expected the rendered page to contain
Stencil "latexmath_inline.html"
Actual Result
The rendered page instead contained
Stencil "latexmath_base.html"
Setup
The test harness that i'm working with is posted at VaporExamplesLab/eval-vapor-leaf-stencil
The text was updated successfully, but these errors were encountered: