chore: cleanup

This commit is contained in:
Cory Dransfeldt 2024-04-15 16:55:34 -07:00
parent 0bdda4b7a4
commit ce24c35a20
No known key found for this signature in database
17 changed files with 33 additions and 19 deletions

View file

@ -12,7 +12,7 @@ import filters from './config/filters/index.js'
import { slugifyString } from './config/utils/index.js'
import { svgToJpeg } from './config/events/index.js'
import { minifyJsComponents } from './config/events/index.js'
import { searchIndex, tagList, tagMap, postStats, tagsSortedByCount } from './config/collections/index.js'
import { searchIndex, tagList, tagMap, postStats, tagsSortedByCount, artistsIndex, albumsIndex } from './config/collections/index.js'
import { img } from './config/shortcodes/index.js'
// load .env
@ -93,6 +93,8 @@ export default async function (eleventyConfig) {
eleventyConfig.addCollection('tagMap', tagMap)
eleventyConfig.addCollection('postStats', postStats)
eleventyConfig.addCollection('tagsSortedByCount', tagsSortedByCount)
eleventyConfig.addCollection('artistsIndex', artistsIndex)
eleventyConfig.addCollection('albumsIndex', albumsIndex)
const md = markdownIt({ html: true, linkify: true })
md.use(markdownItAnchor, {