fix: more stable link date

This commit is contained in:
Cory Dransfeldt 2024-03-18 16:38:19 -07:00
parent 761a795e8f
commit 3cff5d47e6
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "8.1.3", "version": "8.1.4",
"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": {

View file

@ -33,7 +33,7 @@ export default async function () {
title: link['title'], title: link['title'],
url: link['source_url'], url: link['source_url'],
tags: [...new Set(Object.keys(link['tags']))], tags: [...new Set(Object.keys(link['tags']))],
date: `${link['updated_at'] || link['created_at']}`, date: `${link['created_at'] || link['updated_at']}`,
author: link['author'], author: link['author'],
summary: link['summary'], summary: link['summary'],
note: link['notes'], note: link['notes'],