From 3cff5d47e68a1626369ef48493c1cb6cbf4c9bef Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Mon, 18 Mar 2024 16:38:19 -0700 Subject: [PATCH] fix: more stable link date --- package.json | 2 +- src/_data/links.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2909e4a7..48967d6b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "8.1.3", + "version": "8.1.4", "description": "The source for my personal site. Built using 11ty.", "type": "module", "scripts": { diff --git a/src/_data/links.js b/src/_data/links.js index 8dbc9166..d7220fc7 100644 --- a/src/_data/links.js +++ b/src/_data/links.js @@ -33,7 +33,7 @@ export default async function () { title: link['title'], url: link['source_url'], tags: [...new Set(Object.keys(link['tags']))], - date: `${link['updated_at'] || link['created_at']}`, + date: `${link['created_at'] || link['updated_at']}`, author: link['author'], summary: link['summary'], note: link['notes'],