diff --git a/README.md b/README.md index 8bd45ee..7a5b6aa 100644 --- a/README.md +++ b/README.md @@ -104,11 +104,13 @@ You will need to create a template in order to use the `responsive_image` tag. B #### Responsive images with `srcset` ```twig - +{% capture srcset %} + {% for i in resized %} + /{{ i.path }} {{ i.width }}w, + {% endfor %} +{% endcapture %} + + ``` #### Responsive images with ``