From 995c65f2c75a29f4088a360fa3b12e0cc57bee71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernat=20Borr=C3=A0s=20Civil?= <70479573+BernatBC@users.noreply.github.com> Date: Fri, 2 Feb 2024 19:08:39 +0100 Subject: [PATCH] Add max number of posts parameter (#279) * Add max number of posts parameter * Put parameter under features --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Co-authored-by: Emruz Hossain --- config.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config.yaml b/config.yaml index 1493d3bae98..1dc7f4299ab 100644 --- a/config.yaml +++ b/config.yaml @@ -253,6 +253,10 @@ params: # Enable reading time support in post cards and in post pages readingTime: enable: false + + # Number of posts to show to each page. Default is "12" + pagination: + maxPostsPerPage: 12 # Provide footer configuration.