diff options
| author | Apply55gx <Apply55gx@users.noreply.github.com> | 2017-10-25 10:44:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-25 10:44:28 +0200 |
| commit | d800e3fcfa44bc0be7262092815b2d2020a9d9f3 (patch) | |
| tree | 0bdc64b3e15592e2fdeeaa40f21cbcc8039b7949 /searx/templates/simple/macros.html | |
| parent | 18a4e7035f72a3c31239ae0bd1ee67cc2ad354b8 (diff) | |
| parent | b34124fd8a6b020136ca9656acdb01afceabe96f (diff) | |
Merge pull request #1 from asciimoo/master
-
Diffstat (limited to 'searx/templates/simple/macros.html')
| -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..f0b36276c 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='') -%} |