From d5279c5c8b34942da2aa35353d0a8cf3a6c0543e Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Fri, 17 May 2024 13:27:00 -0700 Subject: [PATCH] fix: formatting --- config/collections/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/collections/index.js b/config/collections/index.js index 5057c049..9c0588c4 100644 --- a/config/collections/index.js +++ b/config/collections/index.js @@ -53,8 +53,8 @@ export const allContent = (collection) => { title: `${icon}: ${getTitle(item)}` } if (item.data?.link) content.url = item.data?.link - if (item.data?.description) content.description = item.data.description - if (item?.description) content.description = item.description + if (item.data?.description) content.description = `${item.data.description}

` + if (item?.description) content.description = `${item.description}

` const date = getDate ? parseDate(getDate(item)) : null if (date) content.date = date aggregateContent.push(content)