simplify category list more
This commit is contained in:
parent
67674a79a4
commit
d4f8915de7
2 changed files with 10 additions and 8 deletions
|
@ -65,3 +65,7 @@ p a {
|
|||
background-color: transparentize($brand-orange, 0.2);
|
||||
}
|
||||
}
|
||||
|
||||
.category-item {
|
||||
padding: 1px 0;
|
||||
}
|
||||
|
|
|
@ -30,14 +30,12 @@
|
|||
<section>
|
||||
<div class="container">
|
||||
<div class="row no-gutter">
|
||||
{% for article in dates %}
|
||||
<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>
|
||||
{% for article in articles|sort(attribute="title") %}
|
||||
<div class="category-item">
|
||||
<a href="{{ article.url }}">
|
||||
<h3>{{ article.title }}</h3>
|
||||
</a>
|
||||
<p>{{ article.summary|striptags|e }}</p>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
|
Reference in a new issue