mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
Update base.html
This commit is contained in:
parent
b720a495f0
commit
c3fe35a1ad
1 changed files with 25 additions and 25 deletions
|
@ -42,14 +42,14 @@
|
||||||
|
|
||||||
<nav id="links_on_top">
|
<nav id="links_on_top">
|
||||||
{%- from 'simple/icons.html' import icon_big -%}
|
{%- from 'simple/icons.html' import icon_big -%}
|
||||||
{%- block linkto_about -%}
|
# {%- block linkto_about -%}
|
||||||
<a href="{{ url_for('info', pagename='about') }}" class="link_on_top_about">{{ icon_big('information-circle-outline') }}<span>{{ _('About') }}</span></a>
|
# <a href="{{ url_for('info', pagename='about') }}" class="link_on_top_about">{{ icon_big('information-circle-outline') }}<span>{{ _('About') }}</span></a>
|
||||||
{%- endblock -%}
|
# {%- endblock -%}
|
||||||
{%- block linkto_donate -%}
|
# {%- block linkto_donate -%}
|
||||||
{%- if donation_url -%}
|
# {%- if donation_url -%}
|
||||||
<a href="{{ donation_url }}" class="link_on_top_donate">{{ icon_big('heart-outline') }}<span>{{ _('Donate') }}</span></a>
|
# <a href="{{ donation_url }}" class="link_on_top_donate">{{ icon_big('heart-outline') }}<span>{{ _('Donate') }}</span></a>
|
||||||
{%- endif -%}
|
# {%- endif -%}
|
||||||
{%- endblock -%}
|
# {%- endblock -%}
|
||||||
{%- block linkto_preferences -%}
|
{%- block linkto_preferences -%}
|
||||||
<a href="{{ url_for('preferences') }}" class="link_on_top_preferences">{{ icon_big('menu-outline') }}<span>{{ _('Preferences') }}</span></a>
|
<a href="{{ url_for('preferences') }}" class="link_on_top_preferences">{{ icon_big('menu-outline') }}<span>{{ _('Preferences') }}</span></a>
|
||||||
{%- endblock -%}
|
{%- endblock -%}
|
||||||
|
@ -59,23 +59,23 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</main>
|
</main>
|
||||||
<footer>
|
# <footer>
|
||||||
<p>
|
# <p>
|
||||||
{{ _('Powered by') }} <a href="{{ url_for('info', pagename='about') }}">searxng</a> - {{ searx_version }} — {{ _('a privacy-respecting, open metasearch engine') }}<br/>
|
# {{ _('Powered by') }} <a href="{{ url_for('info', pagename='about') }}">searxng</a> - {{ searx_version }} — {{ _('a privacy-respecting, open metasearch engine') }}<br/>
|
||||||
<a href="{{ searx_git_url }}">{{ _('Source code') }}</a>
|
# <a href="{{ searx_git_url }}">{{ _('Source code') }}</a>
|
||||||
| <a href="{{ get_setting('brand.issue_url') }}">{{ _('Issue tracker') }}</a>
|
# | <a href="{{ get_setting('brand.issue_url') }}">{{ _('Issue tracker') }}</a>
|
||||||
{% if enable_metrics %}| <a href="{{ url_for('stats') }}">{{ _('Engine stats') }}</a>{% endif %}
|
# {% if enable_metrics %}| <a href="{{ url_for('stats') }}">{{ _('Engine stats') }}</a>{% endif %}
|
||||||
{% if get_setting('brand.public_instances') %}
|
# {% if get_setting('brand.public_instances') %}
|
||||||
| <a href="{{ get_setting('brand.public_instances') }}">{{ _('Public instances') }}</a>
|
# | <a href="{{ get_setting('brand.public_instances') }}">{{ _('Public instances') }}</a>
|
||||||
{% endif %}
|
# {% endif %}
|
||||||
{% if get_setting('general.privacypolicy_url') %}
|
# {% if get_setting('general.privacypolicy_url') %}
|
||||||
| <a href="{{ get_setting('general.privacypolicy_url') }}">{{ _('Privacy policy') }}</a>
|
# | <a href="{{ get_setting('general.privacypolicy_url') }}">{{ _('Privacy policy') }}</a>
|
||||||
{% endif %}
|
# {% endif %}
|
||||||
{% if get_setting('general.contact_url') %}
|
# {% if get_setting('general.contact_url') %}
|
||||||
| <a href="{{ get_setting('general.contact_url') }}">{{ _('Contact instance maintainer') }}</a>
|
# | <a href="{{ get_setting('general.contact_url') }}">{{ _('Contact instance maintainer') }}</a>
|
||||||
{% endif %}
|
# {% endif %}
|
||||||
</p>
|
# </p>
|
||||||
</footer>
|
# </footer>
|
||||||
<!--[if gte IE 9]>-->
|
<!--[if gte IE 9]>-->
|
||||||
<script src="{{ url_for('static', filename='js/searxng.min.js') }}"></script>
|
<script src="{{ url_for('static', filename='js/searxng.min.js') }}"></script>
|
||||||
<!--<![endif]-->
|
<!--<![endif]-->
|
||||||
|
|
Loading…
Add table
Reference in a new issue