summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
authorThomas Pointhuber <thomas.pointhuber@gmx.at>2014-09-22 22:42:29 +0200
committerThomas Pointhuber <thomas.pointhuber@gmx.at>2014-10-05 14:40:46 +0200
commitc21a907cacbbfa8ce8a135362067086063a805f6 (patch)
treebb1a6236036b1e226385aef80e5291b24c3ed14f /searx/webapp.py
parent5d7b63223fc9242a5be030851d3f6f3dc05d7c8b (diff)
downloadsearxng-c21a907cacbbfa8ce8a135362067086063a805f6.tar.gz
searxng-c21a907cacbbfa8ce8a135362067086063a805f6.zip
initial commit of the new template 'oscar'
* base.html mostly implemented * stats.html implemented * about.html implemented * most of preferences.html implemented * using bootstrap.js
Diffstat (limited to 'searx/webapp.py')
-rw-r--r--searx/webapp.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index 74f8fad7e..90451bf2a 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -174,6 +174,8 @@ def render(template_name, override_theme=None, **kwargs):
kwargs['url_for'] = url_for_theme
kwargs['theme'] = get_current_theme_name(override=override_theme)
+
+ kwargs['template_name'] = template_name
return render_template(
'{}/{}'.format(kwargs['theme'], template_name), **kwargs)