[enh] allow to set if a gallery is listed on home
This commit is contained in:
parent
005234ad2a
commit
0b157c2c2f
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user