chore: organization
This commit is contained in:
parent
2ce9d35578
commit
532772fc55
9 changed files with 26 additions and 25 deletions
|
@ -9,7 +9,7 @@ import htmlmin from 'html-minifier-terser'
|
|||
|
||||
import filters from './config/filters/index.js'
|
||||
import { minifyJsComponents } from './config/events/index.js'
|
||||
import { followContent, searchIndex, tagList, tagsSortedByCount, links, tagMap, booksToRead } from './config/collections/index.js'
|
||||
import { allContent, searchIndex, tagList, tagsSortedByCount, links, tagMap, booksToRead } from './config/collections/index.js'
|
||||
import { DateTime } from 'luxon'
|
||||
|
||||
// load .env
|
||||
|
@ -74,7 +74,7 @@ export default async function (eleventyConfig) {
|
|||
})
|
||||
|
||||
// collections
|
||||
eleventyConfig.addCollection('followContent', followContent)
|
||||
eleventyConfig.addCollection('allContent', allContent)
|
||||
eleventyConfig.addCollection('searchIndex', searchIndex)
|
||||
eleventyConfig.addCollection('tagList', tagList)
|
||||
eleventyConfig.addCollection('tagsSortedByCount', tagsSortedByCount)
|
||||
|
|
Reference in a new issue