fix og in light theme

This commit is contained in:
Adrien Beudin 2016-11-04 14:43:29 +01:00
parent d29a75fbba
commit 3440a8cfcb

View File

@ -395,6 +395,7 @@ def build_gallery(settings, gallery_settings, gallery_path, template):
Image=Image, Image=Image,
Video=Video, Video=Video,
link=gallery_light_path link=gallery_light_path
name=gallery_path.split('/', 1)[-1]
).encode("Utf-8") ).encode("Utf-8")
open(Path("build").joinpath(gallery_light_path, "index.html"), "w").write(html) open(Path("build").joinpath(gallery_light_path, "index.html"), "w").write(html)