fix: use IsImageResourceWithMeta to check whether image has width / height attributes (#1285)

This commit is contained in:
Jimmy
2026-03-05 09:23:47 +01:00
committed by GitHub
parent 22edce91ab
commit 3dae60ac7a
+1 -1
View File
@@ -33,7 +33,7 @@
{{ end }}
{{ with $resource }}
{{ if reflect.IsImageResourceProcessable . }}
{{ if reflect.IsImageResourceWithMeta . }}
{{ $result = dict
"Resource" $resource
"Permalink" $permalink