mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-10 21:01:41 +00:00
chore: move findExistingDefinition into own file
This commit is contained in:
2
11ty/filters/helpers/findExistingDefinition.js
Normal file
2
11ty/filters/helpers/findExistingDefinition.js
Normal file
@ -0,0 +1,2 @@
|
||||
module.exports = (word, collection) =>
|
||||
collection.find((item) => item.data.title === word);
|
Reference in New Issue
Block a user