Forum Discussion

peterlu's avatar
peterlu
Champion
10 years ago
Solved

code snippet for social meta tags (open graph and twitter)

Hi All,   I am thinking sharing these codes that I have been using for ages. I hope it can help someone.   <#if page.name == "CommunityPage"> <meta property="og:title" content="${coreNode.title?h...
  • PaoloT's avatar
    10 years ago

    Hi peterlu

     

    thanks for sharing. For information, if using the above (or similar custom tags) ode make sure that the Lithium Opengraph configuration is turned off (see more here), to avoid conflicting tags on the pages.

     

    Cheers,