[enh] allow to set if a gallery is listed on home

This commit is contained in:
Laurent Peuch 2015-12-10 01:45:42 +01:00
parent 005234ad2a
commit 0b157c2c2f

View File

@ -85,6 +85,7 @@ def main():
gallery_sub_title = gallery_settings.get("sub_title", "")
gallery_date = gallery_settings["date"] if "date" in gallery_settings else ""
if gallery_settings.get("public", True):
front_page_galleries_cover.append({
"title": gallery_title,
"link": gallery,