diff --git a/.eleventy.js b/.eleventy.js index 8e69fdcf..6f42d0a5 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -51,7 +51,7 @@ module.exports = function (config) { // NOTE (ovlb): this will not be remembered as the best code i’ve written. if anyone seeing this has a better solution then the following to achieve sub groups of the definitions: i am happy to get rid of it - config.addCollection('definitions', collection => { + config.addCollection('tableOfContent', collection => { const allItems = collection .getFilteredByGlob('./11ty/definitions/*.md') .sort((a, b) => { diff --git a/11ty/_includes/components/table-of-content.njk b/11ty/_includes/components/table-of-content.njk index 44c0beb8..6b4a5012 100644 --- a/11ty/_includes/components/table-of-content.njk +++ b/11ty/_includes/components/table-of-content.njk @@ -1,7 +1,7 @@