add exclude image flag, request by @flamedfury
This commit is contained in:
parent
99ef6f5b31
commit
adfd1f9673
1 changed files with 2 additions and 0 deletions
|
|
@ -4,6 +4,8 @@ title: Images
|
||||||
|
|
||||||
Using the [Eleventy Image](https://www.11ty.dev/docs/plugins/image/) plugin, there are three ways to handle image optimization: HTML Transform, Markdown syntax, and a Nunjucks shortcode. [See the dedicated blog post to dive deeper.](/blog/post-with-an-image/)
|
Using the [Eleventy Image](https://www.11ty.dev/docs/plugins/image/) plugin, there are three ways to handle image optimization: HTML Transform, Markdown syntax, and a Nunjucks shortcode. [See the dedicated blog post to dive deeper.](/blog/post-with-an-image/)
|
||||||
|
|
||||||
|
Have a look at the [Attribute Overrides](https://www.11ty.dev/docs/plugins/image/#attribute-overrides) for the HTML Transform methods (1 and 2) for per instance overrides. Adding `eleventy:ignore` to an `<img>` element for example, skips this image.
|
||||||
|
|
||||||
## **1. HTML Transform**
|
## **1. HTML Transform**
|
||||||
The HTML Transform automatically processes `<img>` and `<picture>` elements in your HTML files as a post-processing step during the build.
|
The HTML Transform automatically processes `<img>` and `<picture>` elements in your HTML files as a post-processing step during the build.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue