fix fb og meta tags
This commit is contained in:
parent
5fe6faf949
commit
d2c95ba60c
1 changed files with 6 additions and 5 deletions
|
@ -13,11 +13,12 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<!-- start: fb open graph meta tags -->
|
||||
<meta property="og:url" content="{{ page.url | absolute_url }}" />
|
||||
{% if page.type == "post" %}<meta property="og:type" content="article" />{% else %}<meta property="og:type" content="website" />{% endif %}
|
||||
<meta property="og:title" content="{{ page.title }}" />
|
||||
<meta property="og:description" content="{{ page.description }}" />
|
||||
<meta property="og:image" content="{{ '/assets/images/' | absolute_url }}{{ page.image }}.jpg" />
|
||||
<meta property="og:url" content="{{ page.url | absolute_url }}" />
|
||||
{% if page.type == "post" %}
|
||||
<meta property="og:type" content="article" />{% else %}<meta property="og:type" content="website" />{% endif %}
|
||||
<meta property="og:title" content="{{ page.title }}" />
|
||||
<meta property="og:description" content="{{ page.description }}" />
|
||||
<meta property="og:image" content="{{ '/assets/images/' | absolute_url }}{{ page.image }}" />
|
||||
<!-- end: fb open graph meta tags-->
|
||||
|
||||
<title>Web Technologies and Productivity Hacks | {{site.title}}</title>
|
||||
|
|
Loading…
Reference in a new issue