From 49b7b0b286e7a89eca48fa963c5ef1f7f105d659 Mon Sep 17 00:00:00 2001 From: Mijndert Stuij Date: Fri, 10 Jan 2025 20:04:29 +0100 Subject: [PATCH] generate more img widths and set explicit size --- eleventy.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eleventy.config.js b/eleventy.config.js index fb3cfce..ede2d7c 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -35,10 +35,11 @@ export default async function(eleventyConfig) { }); eleventyConfig.addPlugin(eleventyImageTransformPlugin, { extensions: "html", + widths: [800, 500, 300], defaultAttributes: { + sizes: "90vw", loading: "lazy", decoding: "async", - sizes: "auto", }, }); return {