Skip to content

Instantly share code, notes, and snippets.

@antlis
Last active November 25, 2017 13:05
Show Gist options
  • Save antlis/2c1e7a97a3fc8fcfa6fdf197339a5c85 to your computer and use it in GitHub Desktop.
Save antlis/2c1e7a97a3fc8fcfa6fdf197339a5c85 to your computer and use it in GitHub Desktop.
meta social pug mixin
mixin social
meta(name='keywords', content='')
meta(name='image', content='https://website.com/images/website_logo.png')
meta(name='original-source', content='https://website.com')
link(rel='canonical', href='https://website.com')
meta(property='og:locale', content='en_EN')
meta(property='og:type', content='website')
meta(property='og:title', content='Website title')
meta(property='og:description', content='Website description')
meta(property='og:url', content='https://website.com')
meta(property='og:site_name', content='Website title')
meta(property='og:image', content='https://website.com/images/website_image.png')
meta(property='og:image:secure_url', content='https://website.com/images/website_image.png')
meta(name='twitter:title', content='Website title')
meta(name='twitter:image', content='https://website.com/images/website_image.png')
meta(name='twitter:description', content='Website description')
meta(name='twitter:card', content='summary_large_image')
meta(name='twitter:site', content='@WebsiteName')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment