feat: want to read page
This commit is contained in:
parent
2d674ebfb2
commit
f85aff112b
8 changed files with 36 additions and 6 deletions
|
@ -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, {
|
||||
|
|
Reference in a new issue