mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[feat] allow customization of logo and favicon
also removed searxng-wordmark from templates directory and build files, because it is no longer used anywhere
This commit is contained in:
parent
0245e82bd2
commit
0c202474c4
15 changed files with 92 additions and 12 deletions
|
|
@ -2,7 +2,12 @@
|
|||
<div id="search_header">
|
||||
<a id="search_logo" href="{{ url_for('index') }}" tabindex="0" title="{{ _('Display the front page') }}">
|
||||
<span hidden>SearXNG</span>
|
||||
{% include 'simple/searxng-wordmark.min.svg' without context %}
|
||||
<img width="23px" height="23px" src="
|
||||
{%- if not get_setting('brand.custom_files.favicon_svg', false) -%}
|
||||
{{ url_for('custom', custom_file='favicon_png', filename='img/favicon.svg') }}
|
||||
{%- else -%} {{ url_for('custom', custom_file='favicon_svg', filename='img/favicon.svg') }}
|
||||
{%- endif -%}
|
||||
"></img>
|
||||
</a>
|
||||
<div id="search_view">
|
||||
<div class="search_box">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue