From 827718f3e7b6a5a021bde2e99f7252b9e2f349bd Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Thu, 22 Feb 2024 08:30:35 -0800 Subject: [PATCH] chore: update images --- package.json | 2 +- src/_data/links.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0090bd7a..a575573e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "6.5.9", + "version": "6.5.10", "description": "The source for my personal site. Built using 11ty and hosted on Netlify.", "type": "module", "scripts": { diff --git a/src/_data/links.js b/src/_data/links.js index eedd831f..8dbc9166 100644 --- a/src/_data/links.js +++ b/src/_data/links.js @@ -81,7 +81,7 @@ export default async function () { const mergedData = filterDuplicates([ ...formatLinkData(fullData).filter((link) => link.tags.includes('share')), ...Object.values(cachedLinks) - ]) + ]).sort((a,b) => new Date(b.date) - new Date(a.date)); await client.send( new PutObjectCommand({