Include image size in breakpoints

master
Will Faught 2 years ago
parent 40919ef1b2
commit 315cce05e3

@ -198,7 +198,7 @@
{{ $imagewidth := index . 0 }} {{ $imagewidth := index . 0 }}
{{ $viewwidth := index . 1 }} {{ $viewwidth := index . 1 }}
{{ if ge $imagewidth $smallerresource.Width }} {{ if gt $imagewidth $smallerresource.Width }}
{{ continue }} {{ continue }}
{{ end }} {{ end }}

Loading…
Cancel
Save