fix: formatting

This commit is contained in:
Cory Dransfeldt 2024-05-17 13:27:00 -07:00
parent 6cdc007e79
commit d5279c5c8b
No known key found for this signature in database

View file

@ -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}<br/><br/>`
if (item?.description) content.description = `${item.description}<br/><br/>`
const date = getDate ? parseDate(getDate(item)) : null
if (date) content.date = date
aggregateContent.push(content)