style: 🔧 use short form of arrow function syntax
This commit is contained in:
parent
d9c28d07f0
commit
786bec76e9
1 changed files with 1 additions and 3 deletions
|
@ -27,9 +27,7 @@ export default async function (eleventyConfig) {
|
||||||
// eleventyConfig.addPassthroughCopy('./src/img/');
|
// eleventyConfig.addPassthroughCopy('./src/img/');
|
||||||
// eleventyConfig.addWatchTarget('./src/img/');
|
// eleventyConfig.addWatchTarget('./src/img/');
|
||||||
|
|
||||||
eleventyConfig.addCollection('posts', (collection) => {
|
eleventyConfig.addCollection('posts', (collection) => collection.getFilteredByGlob('./src/posts/*.md'));
|
||||||
return collection.getFilteredByGlob('./src/posts/*.md');
|
|
||||||
});
|
|
||||||
|
|
||||||
eleventyConfig.addPlugin(IdAttributePlugin);
|
eleventyConfig.addPlugin(IdAttributePlugin);
|
||||||
eleventyConfig.addPlugin(eleventyPluginCiu);
|
eleventyConfig.addPlugin(eleventyPluginCiu);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue