From 37e22d2945b077a94d9997d064f4355ff8819bae Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Mon, 5 Apr 2021 10:27:05 -0400 Subject: [PATCH] Pass user config to logo template --- app/routes.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/routes.py b/app/routes.py index 4ec4453..3ae805e 100644 --- a/app/routes.py +++ b/app/routes.py @@ -126,7 +126,9 @@ def index(): return render_template('index.html', languages=app.config['LANGUAGES'], countries=app.config['COUNTRIES'], - logo=render_template('logo.html'), + logo=render_template( + 'logo.html', + config=g.user_config), config=g.user_config, tor_available=int(os.environ.get('TOR_AVAILABLE')), version_number=app.config['VERSION_NUMBER'])