added carousel block in layout
This commit is contained in:
@@ -51,10 +51,14 @@
|
|||||||
</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>
|
||||||
@@ -77,7 +81,6 @@
|
|||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Footer -->
|
<!-- Footer -->
|
||||||
|
|||||||
Reference in New Issue
Block a user