From f15943c9c8769fae49cfab50359e4afe85665e45 Mon Sep 17 00:00:00 2001 From: Adrien Beudin Date: Sat, 6 May 2017 10:17:46 +0200 Subject: [PATCH] fix build page --- prosopopee/themes/light/templates/opengraph.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/prosopopee/themes/light/templates/opengraph.html b/prosopopee/themes/light/templates/opengraph.html index 29dffcb..2ce686a 100644 --- a/prosopopee/themes/light/templates/opengraph.html +++ b/prosopopee/themes/light/templates/opengraph.html @@ -1,8 +1,10 @@ {% set absolute_url = settings.url + "/" + name + "/" %} + +{% if gallery.cover %} {% set cover = Image(gallery.cover) %} {{ cover.copy() }} - +{% endif %} {% if gallery.description %}