blog.ogMeta

Available Since: V1.0.0

Chunk used to format the Open Graph meta data when referenced from a template used for the blog. The chunk must be referenced from within the head section of the template.

<meta property="og:title" content="[[if &subject=`[[+social_title]]` &operator=`!empty` &then=`[[+social_title]]` &else=`[[+meta_title]]`]]" />
<meta property="og:type" content="website" />
<meta property="og:url" content="[[self &abs=`1`]]" />
<meta property="og:site_name" content="[[+sitename]]" />
<meta property="og:description" content="[[if &subject=`[[+social_description]]` &operator=`!empty` &then=`[[+social_description]]` &else=`[[+meta_description]]`]]" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:url" content="[[self &abs=`1`]]" />
<meta name="twitter:title" content="[[if &subject=`[[+social_title]]` &operator=`!empty` &then=`[[+social_title]]` &else=`[[+meta_title]]`]]" />
<meta name="twitter:description" content="[[if &subject=`[[+social_description]]` &operator=`!empty` &then=`[[+social_description]]` &else=`[[+meta_description]]`]]" />
[[if &subject=`[[blog.socialImg &linkOnly=`1`]]` &operator=`!empty` &then=`
<meta property="og:image" content="[[blog.socialImg &abs=`1` &linkOnly=`1`]]" />
<meta name="twitter:image" content="[[blog.socialImg &abs=`1` &linkOnly=`1`]]" />
`]]
Placeholder Description
social_title The title set on Open Graph tab of the blog post.
social_description The description set on the Open Graph tab of the blog post.



TOP