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>
|
||||
{% endif %}
|
||||
{% if not category.page.hide_list %}
|
||||
<section class="no-padding">
|
||||
<div class="container-fluid">
|
||||
<section>
|
||||
<div class="container">
|
||||
<div class="row no-gutter">
|
||||
{% for article in dates %}
|
||||
<div class="col-lg-4 col-sm-6">
|
||||
{% if article.image %}
|
||||
<a href="/{{ article.url }}" class="portfolio-box image" data-image="{{ article.image }}">
|
||||
{% else %}
|
||||
<a href="/{{ article.url }}" class="portfolio-box show" >
|
||||
{% endif %}
|
||||
<div class="portfolio-box-caption">
|
||||
<div class="portfolio-box-caption-content">
|
||||
<div class="project-category">
|
||||
{{ article.title }}
|
||||
</div>
|
||||
<div class="project-name">
|
||||
{{ article.summary|striptags|e }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="media">
|
||||
<div class="media-body">
|
||||
<a href="{{ article.url }}">
|
||||
<h3 class="media-heading">{{ article.title }}</h3>
|
||||
</a>
|
||||
<p>{{ article.summary|striptags|e }}</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
|
Reference in a new issue