Skip to content

Commit 5ac6f4c

Browse files
committed
better meta tags for fb/twitter shares
1 parent 6e04ba5 commit 5ac6f4c

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

site/_core/Site.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,19 @@ var Site = React.createClass({
2525
<meta httpEquiv="X-UA-Compatible" content="IE=edge,chrome=1" />
2626
<title>{pageTitle}</title>
2727
<meta name="viewport" content="width=640" />
28+
<meta property="og:title" content="GraphQL: A query language for APIs." />
29+
<meta property="og:description" content="GraphQL provides a complete description of the data in your API, gives clients the power to ask for exactly what they need and nothing more, makes it easier to evolve APIs over time, and enables powerful developer tools." />
2830
<meta property="og:type" content="website" />
2931
<meta property="og:url" content="http://graphql.org/" />
32+
<meta property="og:image" content="/img/og_image.png" />
33+
<meta property="og:image:type" content="image/png" />
34+
<meta property="og:image:width" content="1200" />
35+
<meta property="og:image:height" content="630" />
36+
<meta name="twitter:card" content="summary" />
37+
<meta name="twitter:site" content="@graphql" />
38+
<meta name="twitter:title" content="GraphQL: A query language for APIs." />
39+
<meta name="twitter:description" content="GraphQL gives clients the power to ask for exactly what they need and nothing more, makes it easier to evolve APIs over time, and enables powerful developer tools." />
40+
<meta name="twitter:image" content="/img/twitter_image.png" />
3041
<link rel="shortcut icon" href="/img/favicon.png" />
3142
<link rel="home" type="application/rss+xml" href="/blog/rss.xml" title="GraphQL Team Blog" />
3243
<link rel="stylesheet" href="/style.css" />

site/img/og_image.png

143 KB
Loading

site/img/twitter_image.png

85.7 KB
Loading

0 commit comments

Comments
 (0)