Download

{{socialMetaTags}} helper

Helper for creating Open Graph and Twitter Cars meta tags.

Syntax:

{{socialMetaTags}}

Example output:

<meta property="og:title" content="Post title" />
<meta property="og:image" content="https://example.com/media/posts/1/img.jpg"/>
<meta property="og:site_name" content="Site name" />
<meta property="og:description" content="Lorem ipsum dolor" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@username" />
<meta name="twitter:title" content="Post title" />
<meta name="twitter:description" content="Lorem ipsum dolor" />
<meta name="twitter:image" content="https://example.com/media/posts/1/img.jpg" />

What are you waiting for?

Start building your site today.

  1. 1 Download Publii
  2. 2 Write your content
  3. 3 Publish your site
Create website