fix: 🔧 return content unaltered if transform condition not met
This commit is contained in:
parent
a28d070a30
commit
215e5fca89
1 changed files with 3 additions and 1 deletions
|
@ -68,6 +68,8 @@ export default async function (eleventyConfig) {
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return content;
|
||||||
});
|
});
|
||||||
|
|
||||||
eleventyConfig.addFilter('getOgImage', getOgImage);
|
eleventyConfig.addFilter('getOgImage', getOgImage);
|
||||||
|
@ -78,7 +80,7 @@ export default async function (eleventyConfig) {
|
||||||
});
|
});
|
||||||
eleventyConfig.addPlugin(eleventyPluginNavigation);
|
eleventyConfig.addPlugin(eleventyPluginNavigation);
|
||||||
eleventyConfig.addPlugin(eleventyImagePlugin, IMAGE_TRANSFORM_OPTS);
|
eleventyConfig.addPlugin(eleventyImagePlugin, IMAGE_TRANSFORM_OPTS);
|
||||||
|
|
||||||
eleventyConfig.setLibrary('md', markdownIt(MARKDOWNIT_OPTIONS));
|
eleventyConfig.setLibrary('md', markdownIt(MARKDOWNIT_OPTIONS));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue