diff --git a/layouts/partials/func/GetFeaturedImage.html b/layouts/partials/func/GetFeaturedImage.html index 5ceeb15..51aa8c0 100644 --- a/layouts/partials/func/GetFeaturedImage.html +++ b/layouts/partials/func/GetFeaturedImage.html @@ -27,7 +27,7 @@ {{ end }} {{ else }} {{/* If we find a local global Resource matching the exact value, we use it. */}} - {{ with resources.Get . }} + {{ with resources.GetMatch . }} {{ $coverImage = . }} {{ end }} {{ end }}