When I attempted to use `func/GetFeaturedImage.html`, it did not find my resource, `images/foo-cover.webp`. Updating the match syntax to the pattern expressed here, provided expected behavior:
Per:
https://gohugo.io/content-management/page-resources/#pattern-matching
> .Resources.Match "*sunset.jpg" 🚫
and...
> .Resources.Match "*" 🚫
Are not expected to work
> .Resources.Match "**/sunset.jpg" ✅
which follows this change, does.
* Add support for auto-detection of featured images.
* Rename Partial, Add Documentation
Renamed the partial to func/GetFeaturedImage.html.
Additionally added more documentation in the partial to explain how it
worked, and what values were returned.
Co-authored-by: Sean Zimmermann <sz2243@columbia.edu>