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,15 +51,19 @@
</div> </div>
</nav> </nav>
{% if request.path == '/' %}
{# -- display carousel -- #}
{% block carousel %}
{% endblock carousel %}
{% endif %}
<!-- Container (The Page Template Section) --> <!-- Container (The Page Template Section) -->
<div class="container"> <div class="container">
<div class="row">
<!-- Display Page Title --> <!-- Display Page Title -->
{% if page_title %} {% if page_title %}
<h1>{{ page_title }}</h1> <h1>{{ page_title }}</h1>
{% endif %} {% endif %}
<br /> <br />
<div id="messages"> <div id="messages">
{% for queue in ['', 'info', 'success', 'warning', 'danger'] %} {% for queue in ['', 'info', 'success', 'warning', 'danger'] %}
{% for message in request.session.pop_flash(queue) %} {% for message in request.session.pop_flash(queue) %}
@@ -75,9 +79,8 @@
{% block content %} {% block content %}
<p>No content</p> <p>No content</p>
{% endblock content %} {% endblock content %}
<br /> <br />
<br /> <br />
</div>
</div> </div>
<!-- Footer --> <!-- Footer -->