diff --git a/README.md b/README.md index 383ebe99..d1c1451b 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ Built with [Eleventy](https://www.11ty.dev/) and deployed to Neocities with the - [Eleventy](https://www.11ty.dev/) - Eleventy's official [RSS](https://www.11ty.dev/docs/plugins/rss/) plugin - Eleventy's official [Navigation](https://www.11ty.dev/docs/plugins/navigation/) plugin +- [details-utils](https://www.npmjs.com/package/@zachleat/details-utils) ### Eleventy Community Plugins - [eleventy-plugin-emoji-readtime](https://www.npmjs.com/package/@11tyrocks/eleventy-plugin-emoji-readtime) diff --git a/bun.lockb b/bun.lockb index 4eafc6f6..814073b4 100644 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/eleventy.config.js b/eleventy.config.js index 445286f8..d877bd46 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -8,6 +8,9 @@ module.exports = function (eleventyConfig) { // Copy files eleventyConfig.addPassthroughCopy("./src/assets/"); eleventyConfig.addWatchTarget("./src/assets/"); + eleventyConfig.addPassthroughCopy({ + "node_modules/@zachleat/details-utils/details-utils.js": "assets/js/details-utils.js", + }); // Custom Plugins eleventyConfig.addPlugin(require('./eleventy.config.md.js')); diff --git a/package.json b/package.json index d32cec0e..cce9b608 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "@11ty/eleventy-navigation": "^0.3.5", "@11ty/eleventy-plugin-rss": "^1.2.0", "@11tyrocks/eleventy-plugin-emoji-readtime": "^1.0.1", + "@zachleat/details-utils": "^2.0.2", "eleventy-plugin-embed-everything": "^1.18.2", "eleventy-plugin-metagen": "^1.8.3", "eleventy-plugin-nesting-toc": "^1.3.0",