Skip to content

Commit 3dae60a

Browse files
authored
fix: use IsImageResourceWithMeta to check whether image has width / height attributes (#1285)
1 parent 22edce9 commit 3dae60a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

layouts/_partials/helper/image.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
{{ end }}
3434

3535
{{ with $resource }}
36-
{{ if reflect.IsImageResourceProcessable . }}
36+
{{ if reflect.IsImageResourceWithMeta . }}
3737
{{ $result = dict
3838
"Resource" $resource
3939
"Permalink" $permalink

0 commit comments

Comments
 (0)