Opengraph tags for categories


(Sigurður Guðbrandsson) #1

I noticed that if I view the source of a category page, there are no opengraph tags.

I didn’t find any discussion on this topic when I searched, so I wanted to create one.

Here’s my suggestion:
The og:image is set to the category image if it is configured or the site logo if it’s set.
The og:description is the short description of the category

Any thoughts / comments / flames?


(Jeff Atwood) #2

Seems fine, can you add this to your low pri list @techapj?


(Arpit Jalan) #3

Done via:

https://github.com/discourse/discourse/commit/10c40775e58412d10f1e752ffca6dbb674d89eee


(Jeff Atwood) #4