We know about "extend" inheritance tag and inclusion tags. What about the combination of it, like an asp.net grid templates.
Like this:
{% template %}
{% content top %}some html{% endcontent %}
{% content bottom %}some html{% endcontent %}
{% endtemplate %}
UPD: Is there such tags already developed?
Currently, you can't mix override {% block %}
tags that came from an {% include %}
in the base template.
If #6646 gets committed, you'll be able to do this (for static {% include %}
tags at least).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.