allow hiding of list in category view
This commit is contained in:
parent
88a92c674d
commit
10012c0c52
1 changed files with 22 additions and 20 deletions
|
@ -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 %}
|
||||||
|
|
Reference in a new issue