updated article series

This commit is contained in:
Samuel Philipp 2024-04-01 13:47:10 +02:00
parent e658906991
commit 7331e63d4e
4 changed files with 15 additions and 3 deletions

View file

@ -18,15 +18,13 @@ layout: base.njk
<div class="tab-card">
<div class="title">{{ strings.article.seriesParts }}</div>
<div class="card">
{%- for post in collections.all %}
{% if post.data.series == series %}
{%- for post in collections.series[series] %}
<div class="p-2">
<a href="{{ post.url | url }}"
class="list-group-item list-group-item-action{% if post.url == page.url %} fw-bold{% endif %}">
{{ post.data.title }}
</a>
</div>
{% endif %}
{%- endfor %}
</div>
</div>