blog/source/_includes/custom/richobject.html

16 lines
580 B
HTML
Raw Normal View History

2012-09-19 17:09:02 +00:00
<meta property="og:url" value="{{ site.url }}{{ page.url }}">
<meta property="og:type" content="blog" />
{% if page.title %}
<meta property="og:title" value="{{ page.title }}">
<meta property="og:description" value="{{ page.description }}">
{% if page.cover %}
<meta property="og:image" value="{{ site.url }}{{ page.cover }}">
{% endif %}
{% else %}
<meta property="og:title" value="{{ site.title }}">
<meta property="og:description" value="{{ site.description }}">
{% if site.cover %}
<meta property="og:image" value="{{ site.url }}{{ site.cover }}">
{% endif %}
{% endif %}