Add option alt support into srcset template (#24)

This commit is contained in:
Nathan Arthur 2016-06-08 01:50:23 -07:00 committed by Joseph Wynn
parent 7f53f3a25a
commit 8b642d4b2a
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ You will need to create a template in order to use the `responsive_image` tag. B
{% endfor %}
{% endcapture %}
<img src="/{{ path }}" srcset="{{ srcset | strip_newlines }} /{{ original.path }} {{ original.width }}w">
<img src="/{{ path }}" alt="{{ alt }}" srcset="{{ srcset | strip_newlines }} /{{ original.path }} {{ original.width }}w">
```
#### Responsive images with `<picture>`