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); background-color: transparentize($brand-orange, 0.2);
} }
} }
.category-item {
padding: 1px 0;
}

View file

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