_includes/head.html: OpenGraph

This commit is contained in:
Aminda Suomalainen 2016-07-30 20:28:36 +03:00
parent a35b177278
commit a71b40a6c8
No known key found for this signature in database
GPG Key ID: 0C207F07B2F32B67

View File

@ -20,4 +20,10 @@
<meta name="twitter:title" content="{% if page.title %}{{ page.title }} — {{ site.title }}{% else %}{{ site.title }}{% endif %}" />
<meta name="twitter:description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description | nstrip_html | strip_newlines }}{% endif %}" />
<meta name="twitter:image" content="https://gravatar.com/avatar/2bd4ed22d7f59d1a83f5a4253d74f814.jpg"/>
<!-- Facebook -->
<meta property="fb_app_id" content="1550553165222890" />
<meta name="og:title" content="{% if page.title %}{{ page.title }} — {{ site.title }}{% else %}{{ site.title }}{% endif %}" />
<meta name="og:description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description | nstrip_html | strip_newlines }}{% endif %}" />
<meta name="og:site_name" content="MikaeladDotInfo" />
<meta name="og:image" content="https://gravatar.com/avatar/2bd4ed22d7f59d1a83f5a4253d74f814.jpg"/>
</head>