minor fix when page has an image

This commit is contained in:
mose 2017-11-18 06:51:51 +08:00
parent 8280830ff9
commit 1a0d58b333

View file

@ -43,8 +43,8 @@
{% else %} {% else %}
{% assign domain = site.urlimg %} {% assign domain = site.urlimg %}
{% endif %} {% endif %}
<meta property="og:image" content="{{ domain }}{{ page.imagefeature }}">{% else %} <meta property="og:image" content="{{ domain }}/{{ page.imagefeature }}">{% else %}
<meta property="og:image" content="{% if page.imagesummary %}{{ site.urlimg }}{{ page.imagesummary }}{% else %}{{ site.urlimg }}/{{ site.default_bg }}{% endif %}">{% endif %} <meta property="og:image" content="{% if page.imagesummary %}{{ site.urlimg }}/{{ page.imagesummary }}{% else %}{{ site.urlimg }}/{{ site.default_bg }}{% endif %}">{% endif %}
{% if page.videofeature %}<meta property="og:video" content="{{ page.videofeature }}">{% endif %} {% if page.videofeature %}<meta property="og:video" content="{{ page.videofeature }}">{% endif %}
<meta property="fb:app_id" content="1003108156422006"> <meta property="fb:app_id" content="1003108156422006">
<meta property="fb:admins" content="817465054"> <meta property="fb:admins" content="817465054">