[mod] add a __common__ template that can't be selected but that provides a common place for shared templates.

What has been moved into this template :
* opensearch*.xml is always the same whatever the themes.
* the text inside */about.html
This commit is contained in:
Alexandre Flament 2017-01-13 22:15:11 +01:00
parent 57149661e4
commit 7fdfeca3a4
14 changed files with 75 additions and 353 deletions

View file

@ -46,6 +46,8 @@ class ViewsTestCase(SearxTestCase):
Search.search = search_mock
def get_current_theme_name_mock(override=None):
if override:
return override
return 'legacy'
webapp.get_current_theme_name = get_current_theme_name_mock