modxorg / DocsApp

Slim app to serve MODX documentation as markdown, with support for different versions and stuff. Also mirrored at docs.modx.org.
https://docs.modx.com/
10 stars 16 forks source link

Image meta fields #352

Open ant-tar opened 1 year ago

ant-tar commented 1 year ago

Affected page(s)

All doc pages

What needs to be improved?

Next meta fields should be added, otherwise social sharing looks like incorrect, please find attached image:

<meta name="twitter:image">
<meta name="og:image">

Current logo can be used for value attribute. Otherwise social network will grab some custom non relevant image(example shows image from right Opencollective block).

(1) Facebook — Mozilla Firefox 2023-05-19 09 39 34 2023-06-02 16 25 50

Mark-H commented 1 year ago

Might be cool to create some automatic page specific images, incorporating the page title and perhaps authors of the page in a simple design?

Open to design ideas!