simplify category page
This commit is contained in:
parent
1591c5a76a
commit
1bec1338ba
1 changed files with 9 additions and 19 deletions
|
@ -27,27 +27,17 @@
|
||||||
</section>
|
</section>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if not category.page.hide_list %}
|
{% if not category.page.hide_list %}
|
||||||
<section class="no-padding">
|
<section>
|
||||||
<div class="container-fluid">
|
<div class="container">
|
||||||
<div class="row no-gutter">
|
<div class="row no-gutter">
|
||||||
{% for article in dates %}
|
{% for article in dates %}
|
||||||
<div class="col-lg-4 col-sm-6">
|
<div class="media">
|
||||||
{% if article.image %}
|
<div class="media-body">
|
||||||
<a href="/{{ article.url }}" class="portfolio-box image" data-image="{{ article.image }}">
|
<a href="{{ article.url }}">
|
||||||
{% else %}
|
<h3 class="media-heading">{{ article.title }}</h3>
|
||||||
<a href="/{{ article.url }}" class="portfolio-box show" >
|
</a>
|
||||||
{% endif %}
|
<p>{{ article.summary|striptags|e }}</p>
|
||||||
<div class="portfolio-box-caption">
|
</div>
|
||||||
<div class="portfolio-box-caption-content">
|
|
||||||
<div class="project-category">
|
|
||||||
{{ article.title }}
|
|
||||||
</div>
|
|
||||||
<div class="project-name">
|
|
||||||
{{ article.summary|striptags|e }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|
Reference in a new issue