Cover image not rendering - hugo-coder theme

cover image for Hugo blog not rendering
default site cover is coming out instead of a particular blog cover
blog site code repo - GitHub - abrahamalen/alen-abraham.github.io: A personal website created using Hugo.
GitLab for CI/CD · Alen Abraham - example blog post

I am unable to reproduce the problem at commit d354f04.

it is rendering on the post but when i share the link the same cover image is not rendering in twitter and linkedin posts instead my default preview image of the website is rendering into the link

The templates that generate the Twitter and Open Graph meta elements are called here:

https://github.com/abrahamalen/alen-abraham.github.io/blob/hugo/layouts/_default/baseof.html#L18-L19

Here’s the Open Graph code:
https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/opengraph.html

Here’s the Twitter code:
https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/twitter_cards.html

In both cases they are looking for either:

Related issues:

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