Skip to content

Instantly share code, notes, and snippets.

@stefansl
Last active October 13, 2015 07:38
Show Gist options
  • Save stefansl/4161977 to your computer and use it in GitHub Desktop.
Save stefansl/4161977 to your computer and use it in GitHub Desktop.
Contao - opengraph tags in page layout
<meta property="og:image" content="{{env::url}}/files/_theme/images/facebook_preview.png" />
<meta property="og:url" content="{{env::path}}{{env::request}}" />
<meta property="og:site_name" content="{{page::rootTitle}}" />
<meta property="og:title" content="{{page::pageTitle}}" />
<meta property="og:type" content="website" />
@stefansl
Copy link
Author

changed files folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment