Sha256: 33bfd472d80d61d1f5fbaee189828716d64ff38005dd41e9de54f014ee769f65
Contents?: true
Size: 346 Bytes
Versions: 1
Compression:
Stored size: 346 Bytes
Contents
{% assign webp_filename = include.url | absolute_url | replace: ".jpg", ".webp" | replace: ".jpeg", ".webp" | replace: ".png", ".webp" | replace: ".tiff", ".webp" %} <picture> <source srcset="{{ webp_filename }}" type="image/webp"> <img src="{{ include.url | absolute_url }}" alt="{{ include.alt }}" class="{{ include.class }}"> </picture>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
udt-itf-theme-0.1.0 | _includes/misc/image.html |