Skip to content

tpl/tplimpl: Extend page image lookup to include global resources��#14062

@jmooring

Description

@jmooring

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions