diff --git a/layouts/partials/func/GetFeaturedImage.html b/layouts/partials/func/GetFeaturedImage.html index c00b086..226a8b3 100644 --- a/layouts/partials/func/GetFeaturedImage.html +++ b/layouts/partials/func/GetFeaturedImage.html @@ -24,7 +24,7 @@ {{/* Find the first image with 'cover' in the name in this page bundle. */}} {{ else }} - {{ $img := (.Resources.ByType "image").GetMatch "*cover*" }} + {{ $img := (.Resources.ByType "image").GetMatch "**/*cover*" }} {{ with $img }} {{ $linkToCover = .Permalink }} {{ end }}