From dc5172303d7e8dae7b4dfd4e4d0734c7eda01d13 Mon Sep 17 00:00:00 2001 From: Julien Malik Date: Thu, 18 Feb 2016 17:00:17 +0100 Subject: [PATCH] [enh] add show_date setting, to be able to order galleries, without showing the date This allows (by chance) date keys to have non-date values, they just need to be comparable. --- prosopopee/prosopopee.py | 1 + prosopopee/templates/index.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/prosopopee/prosopopee.py b/prosopopee/prosopopee.py index 6400687..080b7d6 100644 --- a/prosopopee/prosopopee.py +++ b/prosopopee/prosopopee.py @@ -16,6 +16,7 @@ gallery_index_template = templates.get_template("gallery-index.html") page_template = templates.get_template("page.html") SETTINGS = { + "show_date": True, "gm": { "quality": 75, "auto-orient": True diff --git a/prosopopee/templates/index.html b/prosopopee/templates/index.html index 72f918b..fcbc9d7 100644 --- a/prosopopee/templates/index.html +++ b/prosopopee/templates/index.html @@ -19,7 +19,7 @@