You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- skeleton.html (has basic HTML structure and {% block body %} under <body>)
- base.html ({% extends "skeleton.html" %} and fills "body" with a header, footer etc, as well as {% block content %})
- page.html (extends base.html and fills {% block content %}...{% endblock %})
This is valid in Django, and something I often do, but not currently possible with Pongo2: The 'block' tag can only defined on root level (especially no nesting).
The text was updated successfully, but these errors were encountered:
Removed the neccessary to have blocks in the root level. It is still disallowed to have two or more blocks with the same name. Added tests for inheritance (extends/block-tags).
I tried to set up my templates like this:
This is valid in Django, and something I often do, but not currently possible with Pongo2:
The 'block' tag can only defined on root level (especially no nesting).
The text was updated successfully, but these errors were encountered: