diff options
author | misnyo <misnyo@misnyo.eu> | 2017-09-08 20:33:14 +0200 |
---|---|---|
committer | misnyo <misnyo@misnyo.eu> | 2017-09-08 20:33:14 +0200 |
commit | ae99f9070c7d96385aaea6d5f3d56cab8d2b3f46 (patch) | |
tree | 146105a6531d5ca1f8fe107e5c2696412e20b7b2 /searx/templates/simple | |
parent | f4df27fa59c21f6c776081364afb2ab1a8b83b74 (diff) | |
download | searxng-ae99f9070c7d96385aaea6d5f3d56cab8d2b3f46.tar.gz searxng-ae99f9070c7d96385aaea6d5f3d56cab8d2b3f46.zip |
[fix] static path fixed in templates and webapp, line endings fixed
Diffstat (limited to 'searx/templates/simple')
-rw-r--r-- | searx/templates/simple/macros.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/searx/templates/simple/macros.html b/searx/templates/simple/macros.html index 76c53a635..883503683 100644 --- a/searx/templates/simple/macros.html +++ b/searx/templates/simple/macros.html @@ -8,9 +8,8 @@ {%- endmacro %} <!-- Draw favicon --> -<!-- TODO: using url_for methode --> {% macro draw_favicon(favicon) -%} - <img width="14" height="14" class="favicon" src="static/themes/simple/img/icons/{{ favicon }}.png" alt="{{ favicon }}" /> + <img width="14" height="14" class="favicon" src="{{ url_for('static', filename='/themes/simple/img/icons/' + favicon + '.png') }}" alt="{{ favicon }}" /> {%- endmacro %} {% macro result_open_link(url, classes='') -%} |