_includes/head/descriptors/og-meta.html in slow-steps-0.4.4 vs _includes/head/descriptors/og-meta.html in slow-steps-0.4.5

- old
+ new

@@ -1,8 +1,13 @@ <!-- *** OG *** https://ogp.me/ --> -<meta property="og:title" content="{% if page.url == '/' %} {{ site.title }} {% else %} {{ page.title }} | {{ site.title }} {% endif %}" /> +<meta property="og:title" content=" +{% if page.url == '/' %} +{{ site.title }} | {{ site.subtitle }} +{% else %} +{{ page.title }} | {{ site.title }} +{% endif %}" /> <!-- Adds article properties for posts --> <meta property="og:type" content=" {% if page.id %} @@ -50,10 +55,15 @@ {% imagesize image:opengraph %} <!-- to implement this properly we need some kind of db recording the descriptors of our thumbs --> -<meta property="og:image:alt" content="{{ site.subtitle }}" /> +<meta property="og:image:alt" content=" +{%- if page.id -%} + {{ page.hero_alt }} +{%- else -%} + {{ site.subtitle }} +{%- endif -%} "" /> <meta property="og:url" content="{{ site.url }}{{ site.baseurl }}{{ page.url }}" /> <meta property="og:description" content=" {% if page.description %}