1
Fork 0

simplify category page

This commit is contained in:
Jake Howard 2016-07-31 22:29:22 +01:00
parent 1591c5a76a
commit 1bec1338ba
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -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>
</a>
<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>