Include image size in breakpoints
This commit is contained in:
@@ -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 }}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user