diff --git a/eleventy.config.md.js b/eleventy.config.md.js index ed286bde..aa84db61 100644 --- a/eleventy.config.md.js +++ b/eleventy.config.md.js @@ -104,10 +104,10 @@ module.exports = function (eleventyConfig) { }); // Paired shortcode: image figure and figcaption - eleventyConfig.addPairedShortcode('imgFigure', (caption, img, alt=caption) => { + eleventyConfig.addPairedShortcode('imgFigure', (caption, img, alt=caption, enableLazyLoading=true) => { const figcaption = markdownLibrary.renderInline(caption); return `
- ${alt} + ${alt}
${figcaption}
`; });