nesiax1
(Nestor Diaz)
1
Hi, somebody knows how to specify opengraph tags to a document in Plone 5.2, to be more explicit:
I would like to specify the og:image tag of a page, currently it generates the tag and uses the default site logo, i.e.
<meta property="og:image" content="https://www.mycompany.com/Plone/@@site-logo/logo.png" />
¿ Anybody knows how can I change that ?
I appreciate any suggestions.
erral
(Mikel Larreategi)
2
Those tags are added by a viewlet present in plone.app.layout (https://github.com/plone/plone.app.layout/blob/master/plone/app/layout/viewlets/social.py#L16)
You can override that viewlet for your specific content-type.
jaroel
(Roel Bruggink)
3
afaik you can add an plone.app.contenttypes.behaviors.leadimage which will be used instead of the site logo
nesiax1
(Nestor Diaz)
4