diff options
| -rw-r--r-- | app/__init__.py | 3 | ||||
| -rw-r--r-- | app/templates/base.html | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/app/__init__.py b/app/__init__.py index 2fc47e3..0de174a 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -29,7 +29,7 @@ def create_app(config_class=Config): app.config.from_object(config_class) # Set the app version in the config (we use it in templates) - app.config['APP_VERSION'] = __version__ + app.config["APP_VERSION"] = __version__ # Initialize all extensions db.init_app(app) @@ -78,7 +78,6 @@ def create_app(config_class=Config): app.before_request(auto_logout) - if not app.debug: if app.config["MAIL_SERVER"]: auth = None diff --git a/app/templates/base.html b/app/templates/base.html index f11760a..eec1fc2 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -49,9 +49,11 @@ {% block app_content %} {% endblock %} </main> + {%- block footer %} <footer class="fixed-bottom"> <div class="container"> <span class="text-muted">This is AnnotateChange version {{ config.APP_VERSION }}. For questions or comments, please <a href="mailto:annotatechange@gmail.com">send us an email</a>.</span> </div> </footer> + {%- endblock footer %} {% endblock %} |
