Browse Source

_includes/head.html: OpenGraph

master
Mikaela Suomalainen 3 years ago
parent
commit
a71b40a6c8
Signed by: Mikaela Suomalainen <mikaela+git@mikaela.info> GPG Key ID: 0C207F07B2F32B67
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      _includes/head.html

+ 6
- 0
_includes/head.html 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>

Loading…
Cancel
Save