Currently the embedded _partials/_funcs/get-page-images.html template looks for page resources. Extend this to look for global resources as well. This would align its behavior with other embedded templates, specifically:
Note that the _partials/_funcs/get-page-images.html template is called by these embedded templates:
Reference: https://discourse.gohugo.io/t/open-graph-template-not-picking-front-matter-image/56099
Currently the embedded
_partials/_funcs/get-page-images.htmltemplate looks for page resources. Extend this to look for global resources as well. This would align its behavior with other embedded templates, specifically:_shortcodes/figure.html_markup/render-image.html_markup/render-link.htmlNote that the
_partials/_funcs/get-page-images.htmltemplate is called by these embedded templates:_partials/opengraph.html_partials/schema.html_partials/twitter_cards.htmlReference: https://discourse.gohugo.io/t/open-graph-template-not-picking-front-matter-image/56099