From b09376e63525fe4b8bf1c541f33e43a29f9367f8 Mon Sep 17 00:00:00 2001 From: Nathan Friedly Date: Tue, 16 Jul 2024 17:14:19 -0400 Subject: [PATCH] Fix broken link in README.md This updates the sizes link from https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attr-sizes to https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#sizes --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e8fee46..3e3d80e 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ module.exports = function (eleventyConfig) { | urlPath | `string` | | 🚨 Required

URL prefix for images src URLS. It should match with path suffix in `imagesOutputDir`. Eg: imagesOutputDir with `_site/images` likely need urlPath as `/images/` | | extensions | `array` | `["jpg", "png", "jpeg", "svg"]` | File extensions to optmize. | | formats | `array` | `["avif", "webp", "svg", "jpeg"]` | Formats to be generated.

⚠️ The tags are ordered based on the order of formats in this array. Keep most compatible format at the end. | -| sizes | `string` | `"100vw"` | Default image [`sizes`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attr-sizes) attribute | +| sizes | `string` | `"100vw"` | Default image [`sizes`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#sizes) attribute | | minWidth | `number` | `150` | Minimum image width to be generated | | maxWidth | `number` | `1500` | Maximum image width to be generated | | hoistImgClass | `boolean` | `false` | Move `class` attribute on `` element to enclosing `` element. |