From 605eda60c3b65b6374919416152ac32d584aaf6c Mon Sep 17 00:00:00 2001 From: Joseph Wynn Date: Sun, 7 Dec 2014 13:46:07 +0000 Subject: [PATCH] Modify example to be more readable --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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 ``