diff --git a/_includes/head.html b/_includes/head.html index f393a89..df7982b 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -1,22 +1,65 @@ - + + +{{ page.title }} - - {% if page.type == "podcast" %} - {% assign title_length = page.title | size %} - {{ page.title | slice: 7, title_length }} - The Safing Podcast #{{ page.title | slice: 2, 2 }} - {% elsif page.type == "video" %} - {% assign title_length = page.title | size %} - {{ page.title | slice: 7, title_length }} - Safing Update #{{ page.title | slice: 2, 2 }} - {% elsif page.type == "post" %} - {{ page.title }} - Safing Blog + +<!-- Other & Facebook --> +<meta property="og:url" content="{{ site.url }}"> +<meta property="og:type" content="website"> +<meta property="og:title" content="{{ page.title }}"> +<meta property="og:description" content=" + {% if page.summary != null %} + {{ page.summary | truncatewords: 18 }} {% else %} - {{ page.title }} + {{ site.description }} {% endif %} - +"> + + + + + + + +