diff --git a/sigal/writer.py b/sigal/writer.py index 4c9b948..d2ea5bd 100644 --- a/sigal/writer.py +++ b/sigal/writer.py @@ -144,6 +144,8 @@ class Writer(object): if relpath != '.': ctx['breadcumb'] = self.get_breadcumb(paths, relpath) + ctx['settings']['zip_gallery'] = not not paths[relpath]['medias'] + for i in paths[relpath]['medias']: media_ctx = {} base, ext = os.path.splitext(i)