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,33 +21,35 @@
</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 %}
<section class="no-padding"> {% if not category.page.hide_list %}
<div class="container-fluid"> <section class="no-padding">
<div class="row no-gutter"> <div class="container-fluid">
{% for article in dates %} <div class="row no-gutter">
<div class="col-lg-4 col-sm-6"> {% for article in dates %}
<a href="#" class="portfolio-box"> <div class="col-lg-4 col-sm-6">
<div class="portfolio-box-caption"> <a href="#" class="portfolio-box">
<div class="portfolio-box-caption-content"> <div class="portfolio-box-caption">
<div class="project-category"> <div class="portfolio-box-caption-content">
{{ article.title }} <div class="project-category">
</div> {{ article.title }}
<div class="project-name"> </div>
{{ article.summary|striptags|e }} <div class="project-name">
{{ article.summary|striptags|e }}
</div>
</div> </div>
</div> </div>
</div> </a>
</a> </div>
</div> {% endfor %}
{% endfor %} </div>
</div> </div>
</div> </section>
</section> {% endif %}
{% endblock %} {% endblock %}