-
Notifications
You must be signed in to change notification settings - Fork 46
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
Impossible to override context in for a child template #8
Comments
In GitLab by @m1kola on Dec 14, 2017, 11:42 Hm. Actually, probably my description is incorrect... I'll double check later |
This feels like something that should at least documented if indeed an issue. |
To do this properly, we could take a leaf out of |
Mentioned in the docs as of #131. |
Closed in favour of #138. |
I'm going to repoen this, as it's not a strict duplicate. This is concerning the hiding of context values set in outer contexts by those set in included/extended template contexts, whereas #138 is about controlling the output of tags that are not explicitly called by included/extended template in inner contexts (I know, this makes my brain hurt too). |
I've come across https://github.com/clarketm/mergedeep which might be useful here. |
In GitLab by @m1kola on Dec 14, 2017, 11:38
If you have a
some_page.html
&some_page.yaml
andinclude_me.html
&include_me.html
andsome_page.html
includesinclude_me.html
.some_page.yaml
with something like:and
include_me.yaml
with something like:Title from include
will appear on both patterns. It's impossible to override single key insome_page.html
cc @bcdickinson
The text was updated successfully, but these errors were encountered: