1
0
mirror of https://github.com/danbee/persephone-web.git synced 2025-03-04 08:39:07 +00:00

Add OpenGraph tags

This commit is contained in:
Daniel Barber 2020-02-19 18:37:54 -05:00
parent 9108fb83e8
commit 634f445295
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8
2 changed files with 5 additions and 1 deletions

BIN
source/images/og.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 KiB

View File

@ -6,8 +6,12 @@
<meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Use the title from a page's frontmatter if it has one -->
<title><%= current_page.data.title || "Middleman" %></title>
<title><%= current_page.data.title %></title>
<link rel="stylesheet" type="text/css" href="https://cloud.typography.com/7434852/6168012/css/fonts.css" />
<meta property="og:title" content="<%= current_page.data.title %>" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://persephone.fm" />
<meta property="og:image" content="https://persephone.fm/images/og.png" />
<%= stylesheet_link_tag "site" %>
<%= javascript_include_tag "site" %>
</head>