added carousel block in layout

This commit is contained in:
2022-04-26 15:13:42 +02:00
parent a6a433807c
commit 1bced4ee54

View File

@@ -51,10 +51,14 @@
</div>
</nav>
{% if request.path == '/' %}
{# -- display carousel -- #}
{% block carousel %}
{% endblock carousel %}
{% endif %}
<!-- Container (The Page Template Section) -->
<div class="container">
<div class="row">
<!-- Display Page Title -->
{% if page_title %}
<h1>{{ page_title }}</h1>
@@ -77,7 +81,6 @@
{% endblock content %}
<br />
<br />
</div>
</div>
<!-- Footer -->