• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Implemented Twitter Card Meta

Mouth

Well-known member
#3
I agree. For example, add the following to open_graph_meta template ...
Code:
    <xen:if is="{$avatar}"><meta property="twitter:image:src" content="{$avatar}" /></xen:if>
    <meta property="twitter:image:src" content="{xen:helper fullurl, @ogLogoPath, 1}" />
    <meta name="twitter:card" content="summary_large_image" />
    <meta name="twitter:site" content="<site twitter account @name from ACP>" />
    <meta property="twitter:url" content="{xen:raw $url}" />
    <meta property="twitter:title" content="{xen:raw $title}" />
    <xen:if is="{$description}"><meta property="twitter:description" content="{xen:raw $description}" /></xen:if>