From cee90772bf94a5e49e1ea344a2bcee29920aeb55 Mon Sep 17 00:00:00 2001 From: Thomas Makin Date: Mon, 15 Apr 2024 14:28:22 -0400 Subject: [PATCH] homepage: limit posts to 3 Too much whitespace --- views/dashboard.pug | 2 +- views/homepage-splash.pug | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/views/dashboard.pug b/views/dashboard.pug index 7f83183..71b6993 100644 --- a/views/dashboard.pug +++ b/views/dashboard.pug @@ -28,7 +28,7 @@ h2.mb-4 News and Updates - var i = 0 each post in posts - if i<4 + if i<3 .card.w-100.mb-3.shadow-sm .card-body h5.card-title= post.data.title diff --git a/views/homepage-splash.pug b/views/homepage-splash.pug index 8d46594..9325139 100644 --- a/views/homepage-splash.pug +++ b/views/homepage-splash.pug @@ -29,7 +29,7 @@ h2.mb-4 News and Updates - var i = 0 each post in posts - if i<4 + if i<3 .card.w-100.mb-3.shadow-sm .card-body h5.card-title= post.data.title