We can use Head HTML Code WebPart in your Page Template and using macros to populate your tags content. + Configure the WebPart - Configure the webpart: fbgraph - Web part title: Facebook Open Graph - HTML code <meta property="og:title" content="{% BlogPostTitle %}" /> <meta property="og:site_name" content="Kentico 9" /> <meta property="og:url" content="{% CurrentDocument.AbsoluteURL #%}" /> <meta property="og:description" content="{% StripTags(BlogPostSummary) %}" /> <meta property="og:image" content="http://{% domain %}/getattachment/{% BlogPostTeaser %}/.aspx" /> <meta property="og:type" content="article" />
Comments
Post a Comment