From 7081583087853906ce55e14c9a108c559833ea5d Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Thu, 11 Jan 2024 04:34:24 -0800 Subject: [PATCH] chore: fallback date --- src/_data/links.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_data/links.js b/src/_data/links.js index cbb0a7e4..bf45c246 100644 --- a/src/_data/links.js +++ b/src/_data/links.js @@ -18,7 +18,7 @@ export default async function () { title: link['title'], url: link['source_url'], tags: [...new Set(Object.keys(link['tags']))], - date: link['updated_at'], + date: `${link['updated_at'] || link['created_at']}`, summary: link['summary'], note: link['notes'], description: `${link['summary']}

`,