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