Skip to content

Instantly share code, notes, and snippets.

@SachaG
Created September 12, 2018 01:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SachaG/7caeb0914ef860b4f3e93fb3053d66a9 to your computer and use it in GitHub Desktop.
Save SachaG/7caeb0914ef860b4f3e93fb3053d66a9 to your computer and use it in GitHub Desktop.
const meta = [
{ charset: 'utf-8' },
{ name: 'description', content: description },
// responsive
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
// facebook
{ property: 'og:type', content: 'article' },
{ property: 'og:url', content: url },
{ property: 'og:image', content: image },
{ property: 'og:title', content: title },
{ property: 'og:description', content: description },
// twitter
{ name: 'twitter:card', content: 'summary' },
{ name: 'twitter:image:src', content: image },
{ name: 'twitter:title', content: title },
{ name: 'twitter:description', content: description },
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment