fix: use IsImageResourceWithMeta to check whether image has width / height attributes (#1285)
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
{{ end }}
|
||||
|
||||
{{ with $resource }}
|
||||
{{ if reflect.IsImageResourceProcessable . }}
|
||||
{{ if reflect.IsImageResourceWithMeta . }}
|
||||
{{ $result = dict
|
||||
"Resource" $resource
|
||||
"Permalink" $permalink
|
||||
|
||||
Reference in New Issue
Block a user