Skip to content

Commit

Permalink
Fix a small bug in _includes/responsive_img.html
Browse files Browse the repository at this point in the history
Correctly fixes the issue mentioned in alshedivat#471.
  • Loading branch information
alshedivat authored and pecey committed Jan 27, 2023
1 parent 835ebe9 commit b109f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/responsive_img.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
{% endfor %}
{% endcapture %}

<img {% if class %}class="{{ class }}"{% endif %} src="{{ largest.path | relative_url }}" srcset="{{ srcset | strip_newlines }}/ {{ path }} {{ original.width }}w" {% if alt %}alt="{{ alt }}"{% endif %} {% if title %}title="{{ title }}"{% endif %} {% if zoomable %}data-zoomable{% endif %}/>
<img {% if class %}class="{{ class }}"{% endif %} src="{{ largest.path | relative_url }}" srcset="{{ srcset | strip_newlines }} {{ path | relative_url }} {{ original.width }}w" {% if alt %}alt="{{ alt }}"{% endif %} {% if title %}title="{{ title }}"{% endif %} {% if zoomable %}data-zoomable{% endif %}/>

0 comments on commit b109f0c

Please sign in to comment.