fix: links

This commit is contained in:
Cory Dransfeldt 2024-02-18 21:37:08 -08:00
parent e2eb2da375
commit 744135a239

View file

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