1
Fork 0

simplify category list more

This commit is contained in:
Jake Howard 2016-08-06 14:35:55 +01:00
parent 67674a79a4
commit d4f8915de7
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 10 additions and 8 deletions

View file

@ -65,3 +65,7 @@ p a {
background-color: transparentize($brand-orange, 0.2);
}
}
.category-item {
padding: 1px 0;
}

View file

@ -30,15 +30,13 @@
<section>
<div class="container">
<div class="row no-gutter">
{% for article in dates %}
<div class="media">
<div class="media-body">
{% for article in articles|sort(attribute="title") %}
<div class="category-item">
<a href="{{ article.url }}">
<h3 class="media-heading">{{ article.title }}</h3>
<h3>{{ article.title }}</h3>
</a>
<p>{{ article.summary|striptags|e }}</p>
</div>
</div>
{% endfor %}
</div>
</div>