Compare commits

..

1 commit

Author SHA1 Message Date
Renovate Bot 30f222398f Update actions/upload-artifact action to v4
Some checks failed
Build and Deploy Website / Build Website (push) Failing after 45s
Build and Deploy Website / Deploy Dev Website (push) Has been skipped
Build and Deploy Website / Deploy Website (push) Has been skipped
2024-03-31 18:00:33 +00:00
4 changed files with 3 additions and 15 deletions

View file

@ -62,18 +62,6 @@ module.exports = function (eleventyConfig) {
.length;
});
eleventyConfig.addCollection("series", function (collectionApi) {
return collectionApi.getAll()
.filter(p => p.data?.series)
.sort((p0, p1) => p0.data.order - p1.data.order)
.reduce((series, post) => {
series[post.data.series] = series[post.data.series] ?? [];
series[post.data.series].push(post);
console.log(series);
return series;
}, {});
});
return {
// Pre-process *.md files with: (default: `liquid`)
markdownTemplateEngine: "njk",

View file

@ -18,13 +18,15 @@ layout: base.njk
<div class="tab-card">
<div class="title">{{ strings.article.seriesParts }}</div>
<div class="card">
{%- for post in collections.series[series] %}
{%- for post in collections.all %}
{% if post.data.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>

View file

@ -4,7 +4,6 @@ service: matrix
title: Werde Teil der Matrix - Matrix Teil 1
summary: Erfahre Schritt für Schritt, wie du deinen eigenen Matrix Account einrichten kannst.
series: matrix-setup
order: 1
tags:
- Tutorial
- Matrix

View file

@ -4,7 +4,6 @@ service: matrix
title: Sichere Chats mit Matrix Matrix Teil 2
summary: Erfahre, was es mit Ende-zu-Ende-Verschlüsselung und der Verifizierung von Kontakten auf sich hat.
series: matrix-setup
order: 2
tags:
- Tutorial
- Matrix