diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2017-10-19 22:26:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-19 22:26:31 +0200 |
| commit | b34124fd8a6b020136ca9656acdb01afceabe96f (patch) | |
| tree | ee646a2c3a834ef6801809c5dc9d9da4923cbc0a /searx | |
| parent | c8a66a090a7bde3c8003b9dc6cb1d13359b5d667 (diff) | |
| parent | d506d87f60662ece723bae04e930b6b1d8d1f2d0 (diff) | |
Merge pull request #1066 from MrPetovan/issue/fix-favicon-paths
[fix] Missing favicon images in oscar and simple themes
Diffstat (limited to 'searx')
| -rw-r--r-- | searx/templates/oscar/macros.html | 2 | ||||
| -rw-r--r-- | searx/templates/simple/macros.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/oscar/macros.html b/searx/templates/oscar/macros.html index 6235bcc62..0ff957521 100644 --- a/searx/templates/oscar/macros.html +++ b/searx/templates/oscar/macros.html @@ -5,7 +5,7 @@ <!-- Draw favicon --> {% macro draw_favicon(favicon) -%} - <img width="32" height="32" class="favicon" src="{{ url_for('static', filename='/themes/oscar/img/icons/' + favicon + '.png') }}" alt="{{ favicon }}" /> + <img width="32" height="32" class="favicon" src="{{ url_for('static', filename='themes/oscar/img/icons/' + favicon + '.png') }}" alt="{{ favicon }}" /> {%- endmacro %} {%- macro result_link(url, title, classes='') -%} diff --git a/searx/templates/simple/macros.html b/searx/templates/simple/macros.html index 883503683..f0b36276c 100644 --- a/searx/templates/simple/macros.html +++ b/searx/templates/simple/macros.html @@ -9,7 +9,7 @@ <!-- Draw favicon --> {% macro draw_favicon(favicon) -%} - <img width="14" height="14" class="favicon" src="{{ url_for('static', filename='/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='') -%} |