diff --git a/.eleventy.js b/.eleventy.js index 5e4344b..238fc4b 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -7,7 +7,7 @@ module.exports = function (eleventyConfig, pluginNamespace) { return `${fetchBase}q_auto,f_auto,w_${w}/${path} ${w}w`; }).join(', '); - return `${alt ? alt : ''}`; + return `${alt ? alt : ''}`; }); }); }; diff --git a/README.md b/README.md index 001a2b5..9932e3f 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ module.exports = function( eleventyConfig ) { eleventyConfig.cloudinaryCloudName = 'your-cloud-name-here'; eleventyConfig.srcsetWidths = [ 320, 640, 960, 1280, 1600, 1920, 2240, 2560 ]; eleventyConfig.fallbackWidth = 640; - + eleventyConfig.lazyLoad = true; // Optional boolean to configure native browser image lazy loading // ③ eleventyConfig.addPlugin( pluginRespimg );