fix picture tags having an extra comma in their srcset
This commit is contained in:
parent
0cb94cfa01
commit
fc25e6ca7b
|
@ -8,7 +8,8 @@
|
|||
{%- for format in formats %}
|
||||
<source type='image/{{format}}' sizes='{{sizes}}' srcset="
|
||||
{%- for width in widths -%}
|
||||
{{ st('{}-{}.{}'.format(basename, width, format)) }} {{width}}w,
|
||||
{{ st('{}-{}.{}'.format(basename, width, format)) }} {{width}}w
|
||||
{%- if not loop.last %},{% endif %}
|
||||
{%- endfor -%}
|
||||
"/>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in New Issue