1
Fork 0

allow hiding of list in category view

This commit is contained in:
Jake Howard 2016-06-26 21:46:02 +01:00
parent 88a92c674d
commit 10012c0c52
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -21,13 +21,14 @@
</div> </div>
</div> </div>
</section> </section>
{% if category.page %} {% if category.page.content %}
<section> <section>
<div class="container"> <div class="container">
{{ category.page.content }} {{ category.page.content }}
</div> </div>
</section> </section>
{% endif %} {% endif %}
{% if not category.page.hide_list %}
<section class="no-padding"> <section class="no-padding">
<div class="container-fluid"> <div class="container-fluid">
<div class="row no-gutter"> <div class="row no-gutter">
@ -50,4 +51,5 @@
</div> </div>
</div> </div>
</section> </section>
{% endif %}
{% endblock %} {% endblock %}