Update head.html

This commit is contained in:
Dean Attali 2016-07-25 19:40:21 -07:00 committed by GitHub
parent 7c89bd052f
commit c09fefc22a

View File

@ -53,7 +53,7 @@
<meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}" /> <meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}" />
<meta property="og:type" content="website" /> <meta property="og:type" content="website" />
{% if page.id %} {% if page.id %}
<meta property="og:url" content="{{ site.url }}{{ page.url }}/" /> <meta property="og:url" content="{{ site.url }}{{ page.url }}" />
{% else %} {% else %}
<meta property="og:url" content="{{ site.url }}{{ page.url | remove: '/index.html' | remove: '.html' }}" /> <meta property="og:url" content="{{ site.url }}{{ page.url | remove: '/index.html' | remove: '.html' }}" />
{% endif %} {% endif %}