mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-12 05:31:41 +00:00
feat(11ty): rename definitions collection to tableOfContent
This commit is contained in:
@ -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) => {
|
||||
|
Reference in New Issue
Block a user