mirror of
https://github.com/searxng/searxng.git
synced 2025-07-15 01:09:21 +02:00
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
This commit is contained in:
parent
5d7b63223f
commit
c21a907cac
28 changed files with 634 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue