feat: want to read page

This commit is contained in:
Cory Dransfeldt 2024-04-22 11:49:03 -07:00
parent 2d674ebfb2
commit f85aff112b
No known key found for this signature in database
8 changed files with 36 additions and 6 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, postStats, tagsSortedByCount, links, tagMap } from './config/collections/index.js'
import { searchIndex, tagList, postStats, tagsSortedByCount, links, tagMap, booksToRead } from './config/collections/index.js'
import { img } from './config/shortcodes/index.js'
// load .env
@ -94,6 +94,7 @@ export default async function (eleventyConfig) {
eleventyConfig.addCollection('tagsSortedByCount', tagsSortedByCount)
eleventyConfig.addCollection('links', links)
eleventyConfig.addCollection('tagMap', tagMap)
eleventyConfig.addCollection('booksToRead', booksToRead)
const md = markdownIt({ html: true, linkify: true })
md.use(markdownItAnchor, {