2016-11-04 14:47:47 +01:00

16 lines
608 B
HTML

{% set absolute_url = settings.url + "/" + name + "/" %}
<meta property="og:title" content="{{ gallery.title }}"/>
<meta property="og:image" content="{{ absolute_url }}{{ gallery.cover }}"/>
<meta property="og:site_name" content="{{ settings.title }}"/>
{% if gallery.description %}
<meta property="og:description" content="{{ gallery.description }}"/>
{% endif %}
<meta property="og:type" content="article"/>
<meta property="article:published_time" content="{{ gallery.date }}">
{% if gallery.tags %}
{% for tag in gallery.tags %}
<meta property="article:tag" content="{{ tag }}">
{% endfor %}
{% endif %}