> ## Content Index
> Fetch the complete content index at: https://getpublii.com/dev/llms.txt
> Use this file to discover other available public pages before exploring further.

# {{socialMetaTags}} helper

- URL: https://getpublii.com/dev/socialmetatags-helper/
- Published: 2017-08-04T22:30:05.507Z
- Updated: 2024-02-08T09:38:54.598Z
- Description: 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…
- Author: Tomasz Dziuda
- Tags: Helpers

Helper for creating Open Graph and Twitter Cars meta tags.

Syntax:

```handlebars
{{socialMetaTags}}
```

Example output:

```html
<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" />
```
