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({