Merge pull request #4005 from hashicorp/og-image

website: use a smaller og image for unfurling / expansion behavior
This commit is contained in:
Jack Pearkes 2018-04-06 10:35:14 -07:00 committed by GitHub
commit d5b8b75614
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

BIN
website/source/assets/images/og-image.png (Stored with Git LFS)

Binary file not shown.

View File

@ -17,12 +17,11 @@
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@HashiCorp" />
<meta name="twitter:creator" content="@HashiCorp" />
<meta property="og:type" content="website" />
<meta property="og:url" content="<%= File.join(base_url, current_page.url) %>" />
<meta property="og:title" content="<%= title_for(current_page) %>" />
<meta property="og:site_name" content="Consul by HashiCorp"/>
<meta property="og:image" content="<%= image_url("og-image.png") %>"/>
<meta property="og:image:width" content="1200"/>
<meta property="og:image:height" content="1200"/>
<meta property="og:description" content="<%= description_for(current_page) %>" />
<title><%= title_for(current_page) %></title>