Currently, if you have templates like this with an overridden template tag foo
...
base.html
:
extended.html
:
{% extends "base.html" %}
included.html
:
{% include "base.html" %}
... it's not possible to control the output of foo
from extended.yaml
or included.yaml
, only the values set in base.yaml
will have any effect.
It would be great if the ability to override tags cascaded/inherited the same way as template context.
Describe alternatives you've consideredIt's not possible to work around this without duplicating the tag invocation in the inherited template, as far as I know.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4