Skip to content

Commit 6cebcba

Browse files
committed
Add Open Graph metadata.
Fixes #9
1 parent dc5a5b9 commit 6cebcba

3 files changed

Lines changed: 8 additions & 0 deletions

File tree

_includes/head.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<meta name="viewport" content="width=device-width">
66
<meta name="description" content="{{ site.description }}">
77
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
8+
{% include og.html %}
89

910
<link rel="icon" type="image/x-icon" href="/img/favicon.ico">
1011

_includes/og.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<meta property="og:type" content="website" />
2+
<meta property="og:title" content="{{ site.title }}" />
3+
<meta property="og:url" content="{{ site.url }}" />
4+
<meta property="og:image:url" content="{{ site.url }}{% link img/logos/pythonfrederick.jpg %}" />
5+
<meta property="og:image:width" content="600" />
6+
<meta property="og:image:height" content="596" />
7+
<meta property="og:description" content="{{ site.description }}" />

img/logos/pythonfrederick.jpg

166 KB
Loading

0 commit comments

Comments
 (0)