Adds og:site_name support (#699)

This commit is contained in:
Amy Troschinetz 2020-08-07 23:18:14 -07:00 committed by GitHub
parent 332a3adaa2
commit 5490b4841d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -63,6 +63,10 @@
<meta property="fb:app_id" content="{{ site.fb_app_id }}">
{% endif %}
{% if site.title %}
<meta property="og:site_name" content="{{ site.title }}">
{% endif %}
{% if page.meta-title %}
<meta property="og:title" content="{{ page.meta-title }}">
{% elsif page.title %}
@ -71,7 +75,7 @@
<meta property="og:title" content="{{ site.title }}">
{% endif %}
{% if page.meta-description %}
{% if page.meta-description %}
<meta property="og:description" content="{{ page.meta-description }}">
{% elsif page.subtitle %}
<meta property="og:description" content="{{ page.subtitle }}">