Skip to content

Commit

Permalink
update class for small img
Browse files Browse the repository at this point in the history
  • Loading branch information
nathakits committed Jun 1, 2017
1 parent 2fc7603 commit 453fa96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/includes/webp-img.jade
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ mixin webp-img(src, title, alt, picture_style, img_style)
- preferred_src_suffix = i[0]
source(srcset="#{path_nosuffix}.#{preferred_src_suffix}" type="image/#{preferred_src_suffix}")

img(src="#{path_nosuffix}.#{preferred_src_suffix}" style=img_style).img-small
img(src="#{path_nosuffix}.#{preferred_src_suffix}" style=img_style).img-small--webp.lazyload
img(data-src="#{path_nosuffix}.#{preferred_src_suffix}" style=img_style title="#{title}" alt="#{alt}").img-large--webp.lazyload

0 comments on commit 453fa96

Please sign in to comment.