chore: descriptions
This commit is contained in:
parent
614d1e210c
commit
2ce9d35578
3 changed files with 5 additions and 3 deletions
|
@ -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
4
package-lock.json
generated
|
@ -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",
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
Reference in a new issue