Updated blog page with article list and pagination configs for collection

This commit is contained in:
Claudia Reynders 2022-04-25 22:16:00 +02:00
parent e964b3458c
commit 4efd76eb67
1 changed files with 8 additions and 2 deletions

View File

@ -1,11 +1,17 @@
--- ---
layout: page layout: page
title: "blog" title: "Blog"
eleventyNavigation: eleventyNavigation:
key: blog key: blog
order: 2 order: 2
pagination:
data: collections.blog
size: 10
alias: articles
--- ---
<h1>{{ title }}</h1> <h1>{{ title }}</h1>
This view contains a list of all blogposts sorted from newest to oldest. <p>This view contains a list of all blogposts sorted from newest to oldest.</p>
{% include "./_includes/components/articleList.njk" %}