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 #471.
  • Loading branch information
alshedivat committed Nov 26, 2021
1 parent a0cfbbd commit 8de1ad4
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 8de1ad4

Please sign in to comment.