Pass user config to logo template
This commit is contained in:
parent
2406fee05c
commit
37e22d2945
|
@ -126,7 +126,9 @@ def index():
|
||||||
return render_template('index.html',
|
return render_template('index.html',
|
||||||
languages=app.config['LANGUAGES'],
|
languages=app.config['LANGUAGES'],
|
||||||
countries=app.config['COUNTRIES'],
|
countries=app.config['COUNTRIES'],
|
||||||
logo=render_template('logo.html'),
|
logo=render_template(
|
||||||
|
'logo.html',
|
||||||
|
config=g.user_config),
|
||||||
config=g.user_config,
|
config=g.user_config,
|
||||||
tor_available=int(os.environ.get('TOR_AVAILABLE')),
|
tor_available=int(os.environ.get('TOR_AVAILABLE')),
|
||||||
version_number=app.config['VERSION_NUMBER'])
|
version_number=app.config['VERSION_NUMBER'])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user