diff --git a/eleventy.config.js b/eleventy.config.js index db01fdb..040fdf7 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -27,9 +27,7 @@ export default async function (eleventyConfig) { // eleventyConfig.addPassthroughCopy('./src/img/'); // eleventyConfig.addWatchTarget('./src/img/'); - eleventyConfig.addCollection('posts', (collection) => { - return collection.getFilteredByGlob('./src/posts/*.md'); - }); + eleventyConfig.addCollection('posts', (collection) => collection.getFilteredByGlob('./src/posts/*.md')); eleventyConfig.addPlugin(IdAttributePlugin); eleventyConfig.addPlugin(eleventyPluginCiu);