Commit 3baee506 authored by dario's avatar dario
Browse files

util/web: add default_theme to themes if not already present

parent cee474da
......@@ -117,7 +117,8 @@ def remote_is_internal_network(request):
return False
available_themes = [it[1] for it in config.themes_by_url]
available_themes = set([it[1] for it in config.themes_by_url])
jinja_env = Environment(loader=ThemeSupportTemplateLoader(available_themes), cache_size=0)
jinja_env.globals['url_for'] = url_for
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment