diff --git a/prosopopee/prosopopee.py b/prosopopee/prosopopee.py index 91c8076..f355480 100644 --- a/prosopopee/prosopopee.py +++ b/prosopopee/prosopopee.py @@ -99,7 +99,7 @@ class Video(object): return "" def generate_thumbnail(self, gm_geometry): - thumbnail_name = ".".join(self.name.split(".")[:-1]) + "-%s.png" % gm_geometry + thumbnail_name = ".".join(self.name.split(".")[:-1]) + "-%s.jpg" % gm_geometry source, target = self.base_dir.joinpath(self.name), self.target_dir.joinpath(thumbnail_name) diff --git a/prosopopee/themes/exposure/templates/gallery-index.html b/prosopopee/themes/exposure/templates/gallery-index.html index 2d87cf6..9406c61 100644 --- a/prosopopee/themes/exposure/templates/gallery-index.html +++ b/prosopopee/themes/exposure/templates/gallery-index.html @@ -10,6 +10,12 @@ + {% if gallery.description %} + + {% endif %} + {% if gallery.lang %} + + {% endif %}