Merge pull request #56 from benbalter/pr/and-or

Support article:publisher without fb:app_id
This commit is contained in:
Ben Balter 2016-02-21 20:43:53 -05:00
commit 235dde496d
1 changed files with 7 additions and 2 deletions

View File

@ -127,8 +127,13 @@
{% endif %}
{% if site.facebook %}
<meta property="article:publisher" content="{{ site.facebook.publisher }}" />
<meta property="fb:app_id" content="{{ site.facebook.app_id }}" />
{% if site.facebook.publisher %}
<meta property="article:publisher" content="{{ site.facebook.publisher }}" />
{% endif %}
{% if site.facebook.app_id %}
<meta property="fb:app_id" content="{{ site.facebook.app_id }}" />
{% endif %}
{% endif %}
{% if site.google_site_verification %}