gurusabarish / hugo-profile

A highly customizable and mobile first Hugo template for personal portfolio and blog.
https://hugo-profile.netlify.app
MIT License
771 stars 440 forks source link

image: not being read when posted in social networks #151

Open Delvis opened 10 months ago

Delvis commented 10 months ago

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 commented 10 months ago

I added a pull request that solves this issue:

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