hugo-profile icon indicating copy to clipboard operation
hugo-profile copied to clipboard

image: not being read when posted in social networks

Open Delvis opened this issue 1 year ago • 1 comments

In themes I've used before, when you post a blog or other page section in a social media like facebook, twitter, and so on, it automatically shares with the associated image defined in "image: /image/example.jpg" in the head of the .md file.

Does not seem to be working with hugo-profile (I tested in several social networks)

image

It also fails to provide a general image for the entire website as an alternative, this could possibly be the image defined in config.yaml Hero: image:

Or a new parameter could be created for this.

Delvis avatar Jan 10 '24 11:01 Delvis

I added a pull request that solves this issue:

https://github.com/gurusabarish/hugo-profile/pull/152

Delvis avatar Jan 11 '24 12:01 Delvis