Internal templates for og:image and twitter:image not working with images array in front matter

The twitter:image path is not working when an images array is defined in a page bundle’s front matter. It only works when the page bundle includes images with feature, cover, or thumbnail keywords in the file name AND there is no images array defined in front matter.

This issue is described in more detail here.

Is this a bug with Hugo’s internal templates?

I am unable to reproduce the problem as described using v0.121.1.

Perhaps there’s something different about your setup:

git clone --single-branch -b hugo-forum-topic-47571 https://github.com/jmooring/hugo-testing hugo-forum-topic-47571
cd hugo-forum-topic-47571
hugo server
1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.