wasmerio / wasmer.io

The Wasmer.io website
https://wasmer.io/
21 stars 17 forks source link

Setting `coverimage` in an article's frontmatter should include the image in the article #108

Open Michael-F-Bryan opened 1 year ago

Michael-F-Bryan commented 1 year ago

At the moment, people can set the coverImage or ogImage fields in their article's frontmatter but it won't actually show in the published article. Including one of those image links should automatically add it at the top of the article as a banner.

For example, @tesilopez included a link to the image in both the article's frontmatter (for previews in social media) and still needed to add an explicit image tag before her introduction.

https://github.com/wasmerio/wasmer.io/blob/6b9e9c2af98217d3bfa97b7e681f812ff4658c8f/_posts/happiness-for-success-embracing-failure.md#L1-L14

CC: #68