diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-10-10 14:07:21 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-10-10 14:07:21 +0200 |
commit | 1b60232f40c90d575543f3c2b20d9f13b6e138eb (patch) | |
tree | 1bb4f43b4d0db1de22413630a0c2125492c7a7c9 /src/web/views | |
parent | fixed bug in the translations. (diff) | |
download | newspipe-1b60232f40c90d575543f3c2b20d9f13b6e138eb.tar.gz newspipe-1b60232f40c90d575543f3c2b20d9f13b6e138eb.tar.bz2 newspipe-1b60232f40c90d575543f3c2b20d9f13b6e138eb.zip |
Updated about page.
Diffstat (limited to 'src/web/views')
-rw-r--r-- | src/web/views/views.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/web/views/views.py b/src/web/views/views.py index cbc26480..8703edba 100644 --- a/src/web/views/views.py +++ b/src/web/views/views.py @@ -6,7 +6,7 @@ from flask import (request, render_template, flash, from flask_babel import gettext from sqlalchemy import desc -from conf import API_ROOT +from conf import API_ROOT, ADMIN_EMAIL from web.controllers import FeedController from web.lib.view_utils import etag_match @@ -73,7 +73,8 @@ def popular(): @current_app.route('/about', methods=['GET']) @etag_match def about(): - return render_template('about.html') + print(ADMIN_EMAIL) + return render_template('about.html', contact=ADMIN_EMAIL) @current_app.route('/.well-known/acme-challenge/EZyud_oLrReeFMTW3rQiSi-RaZlXCDpwMBrRJ6-vGfU') |