chore: drop links

This commit is contained in:
Cory Dransfeldt 2023-09-18 15:31:34 -07:00
parent 457619ea2c
commit d68db1993c
No known key found for this signature in database
10 changed files with 2 additions and 70 deletions

View file

@ -92,14 +92,6 @@ module.exports = function (eleventyConfig) {
if (tagString) tags[url] = tagString
})
}
if (item.data.links) {
item.data.links.forEach((link) => {
const tagString = [...new Set(link.tags.map((tag) => tagAliases[tag.toLowerCase()]))]
.join(' ')
.trim()
if (tagString) tags[link.url] = tagString
})
}
})
return tags
})