feat: add og tags for nicer previews #10
Loading…
Reference in New Issue
No description provided.
Delete Branch "feat/add-og-tags"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -9,0 +16,4 @@
<meta
property="og:image"
content="http://distrust.co/assets/base/distrust-logo.png"
/>
You'll also need to add the Twitter specific tags
@ -6,6 +6,17 @@
<link rel="icon" type="image/png" sizes="96x96" href="/assets/favicons/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/assets/favicons/favicon-16x16.png">
<title>{{ page.title }}</title>
<meta property="og:title" content="Distrust" />
{{ page.title }}
@ -7,2 +7,4 @@
<link rel="icon" type="image/png" sizes="16x16" href="/assets/favicons/favicon-16x16.png">
<title>{{ page.title }}</title>
<meta property="og:title" content="Distrust" />
<meta property="og:site_name" content="Distrust" />
Everything that you have hardcoded here should instead be pulled from the config. Here's a jekyll theme that does what you're looking for https://github.com/sujaykundu777/devlopr-jekyll/blob/master/_includes/head.html