diff --git a/game.py b/game.py index 495fc51..b6d329a 100755 --- a/game.py +++ b/game.py @@ -64,7 +64,10 @@ def log_the_request(response): def page_not_found(e): lang = config.get('i18n', 'lang') title = config.get('i18n', 'title') - return render_template('404.html', title=title, lang=lang), 404 + url = config.get('main', 'base_url') + theme = config.get('main', 'theme') + desc = config.get('i18n', 'desc') + return render_template('404.html', title=title, lang=lang, desc=desc, theme=theme, url=url), 404 @app.route("/") def hello(): diff --git a/templates/404.html b/templates/404.html index 98735f2..b9984ac 100644 --- a/templates/404.html +++ b/templates/404.html @@ -2,7 +2,11 @@ {% block main %}