Skip to content

Commit

Permalink
generate more img widths and set explicit size
Browse files Browse the repository at this point in the history
  • Loading branch information
mijndert committed Jan 10, 2025
1 parent e0cfa0f commit 49b7b0b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eleventy.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 49b7b0b

Please sign in to comment.