fix: move hero block inside content block
The `hero` block was defined at the top level of `web.html`, but since `web.html` extends `base.html` which has no `hero` block, that content was simply discarded. By moving it inside the `content` block, child template's overrides will now work correctly.
This commit is contained in:
parent
93dced0d87
commit
820c9092e9
1 changed files with 2 additions and 1 deletions
|
|
@ -1,8 +1,9 @@
|
|||
{% extends base_template_path %}
|
||||
{% block hero %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
{% block hero %}{% endblock %}
|
||||
|
||||
{% macro main_content() %}
|
||||
<div class="page-content-wrapper">
|
||||
<!-- breadcrumbs -->
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue