Use GetMatch in global image matching (#326)

This commit is contained in:
Nedjo Rogers 2022-04-12 15:54:08 -07:00
parent 65e4aa5269
commit 3601825580

View File

@ -27,7 +27,7 @@
{{ end }} {{ end }}
{{ else }} {{ else }}
{{/* If we find a local global Resource matching the exact value, we use it. */}} {{/* If we find a local global Resource matching the exact value, we use it. */}}
{{ with resources.Get . }} {{ with resources.GetMatch . }}
{{ $coverImage = . }} {{ $coverImage = . }}
{{ end }} {{ end }}
{{ end }} {{ end }}