Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (10 sloc) 361 Bytes
{% capture srcset %}
{% for i in resized %}
/{{ i.path }} {{ i.width }}w,
{% endfor %}
{% endcapture %}
{% assign largest = resized | sort: 'width' | last %}
<a target="_blank" href="/{{ original.path }}">
<img src="/{{ largest.path }}" alt="{{ alt | escape }}" srcset="{{ srcset | strip_newlines }}">
<em>{{ caption | escape }}</em>
</a>