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
77dc6a48b1
commit
b12a464c60
1 changed files with 24 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
<html class="no-js theme-{{ preferences.get_value('simple_style') or 'auto' }} center-aligment-{{ preferences.get_value('center_alignment') and 'yes' or 'no' }}" lang="{{ locale_rfc5646 }}" {% if rtl %} dir="rtl"{% endif %}>
|
<html class="no-js theme-{{ preferences.get_value('simple_style') or 'auto' }} center-aligment-{{ preferences.get_value('center_alignment') and 'yes' or 'no' }}" lang="{{ locale_rfc5646 }}" {% if rtl %} dir="rtl"{% endif %}>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="description" content="SearXNG — a privacy-respecting, open metasearch engine">
|
<meta name="description" content="SearXNG — a privacy-respecting, hackable metasearch engine">
|
||||||
<meta name="keywords" content="SearXNG, search, search engine, metasearch, meta search">
|
<meta name="keywords" content="SearXNG, search, search engine, metasearch, meta search">
|
||||||
<meta name="generator" content="searxng/{{ searx_version }}">
|
<meta name="generator" content="searxng/{{ searx_version }}">
|
||||||
<meta name="referrer" content="no-referrer">
|
<meta name="referrer" content="no-referrer">
|
||||||
|
@ -42,6 +42,12 @@
|
||||||
|
|
||||||
<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 -%}
|
||||||
|
{%- endblock -%}
|
||||||
|
{%- block linkto_donate -%}
|
||||||
|
{%- if donation_url -%}
|
||||||
|
{%- endif -%}
|
||||||
|
{%- 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 -%}
|
||||||
|
@ -51,6 +57,23 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</main>
|
</main>
|
||||||
|
<footer>
|
||||||
|
<p>
|
||||||
|
{{ _('Powered by') }} <a href="{{ url_for('info', pagename='about') }}">searxng</a> - {{ searx_version }} — {{ _('a privacy-respecting, hackable metasearch engine') }}<br/>
|
||||||
|
<a href="{{ searx_git_url }}">{{ _('Source code') }}</a> |
|
||||||
|
<a href="{{ get_setting('brand.issue_url') }}">{{ _('Issue tracker') }}</a> |
|
||||||
|
<a href="{{ url_for('stats') }}">{{ _('Engine stats') }}</a>
|
||||||
|
{% if get_setting('brand.public_instances') %}
|
||||||
|
| <a href="{{ get_setting('brand.public_instances') }}">{{ _('Public instances') }}</a>
|
||||||
|
{% endif %}
|
||||||
|
{% if get_setting('general.privacypolicy_url') %}
|
||||||
|
| <a href="{{ get_setting('general.privacypolicy_url') }}">{{ _('Privacy policy') }}</a>
|
||||||
|
{% endif %}
|
||||||
|
{% if get_setting('general.contact_url') %}
|
||||||
|
| <a href="{{ get_setting('general.contact_url') }}">{{ _('Contact instance maintainer') }}</a>
|
||||||
|
{% endif %}
|
||||||
|
</p>
|
||||||
|
</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