From 744135a239a2bf8022fedf916ddb5cc54a8a1018 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Sun, 18 Feb 2024 21:37:08 -0800 Subject: [PATCH] fix: links --- src/_data/links.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/_data/links.js b/src/_data/links.js index 84811b03..49dc9f90 100644 --- a/src/_data/links.js +++ b/src/_data/links.js @@ -79,8 +79,8 @@ export default async function () { if (process.env.ELEVENTY_PRODUCTION) { const mergedData = filterDuplicates([ - ...formatLinkData(fullData).filter((link) => link.tags.includes('share')) - ...Object.values(cachedLinks), + ...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(