Skip to content

Commit

Permalink
og image width and height
Browse files Browse the repository at this point in the history
  • Loading branch information
williamngan committed Aug 25, 2017
1 parent 41e6965 commit 53d9c53
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
<meta property="og:title" content="Pts.js" />
<meta property="og:description" content="Pts is a javascript library that enables you to compose and visualize points." />
<meta property="og:image" content="https://ptsjs.org/assets/card_thumbnail.png" />
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">

<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:creator" content="@williamngan" />
Expand Down
2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<meta property="og:title" content="Pts.js" />
<meta property="og:description" content="Pts is a javascript library that enables you to compose and visualize points." />
<meta property="og:image" content="https://ptsjs.org/assets/card_thumbnail.png" />
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">

<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:creator" content="@williamngan" />
Expand Down
6 changes: 4 additions & 2 deletions study/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@
<meta property="og:title" content="Pts.js" />
<meta property="og:description" content="Pts is a javascript library that enables you to compose and visualize points." />
<meta property="og:image" content="https://ptsjs.org/assets/card_thumbnail.png" />

<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">

<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:creator" content="@williamngan" />

<link href="./css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">

Expand Down

0 comments on commit 53d9c53

Please sign in to comment.