chore: descriptions

This commit is contained in:
Cory Dransfeldt 2024-05-17 13:17:45 -07:00
parent 614d1e210c
commit 2ce9d35578
No known key found for this signature in database
3 changed files with 5 additions and 3 deletions

View file

@ -53,6 +53,8 @@ export const followContent = (collection) => {
title: `${icon}: ${getTitle(item)}` title: `${icon}: ${getTitle(item)}`
} }
if (item.data?.link) content.url = item.data?.link 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
const date = getDate ? parseDate(getDate(item)) : null const date = getDate ? parseDate(getDate(item)) : null
if (date) content.date = date if (date) content.date = date
aggregateContent.push(content) aggregateContent.push(content)

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "15.4.0", "version": "15.4.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "coryd.dev", "name": "coryd.dev",
"version": "15.4.0", "version": "15.4.1",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@cdransf/api-text": "^1.2.2", "@cdransf/api-text": "^1.2.2",

View file

@ -1,6 +1,6 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "15.4.0", "version": "15.4.1",
"description": "The source for my personal site. Built using 11ty.", "description": "The source for my personal site. Built using 11ty.",
"type": "module", "type": "module",
"scripts": { "scripts": {