Gitee/searx/templates/smart/base.html
2025-01-01 20:08:27 +03:30

83 lines
3.1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="{{ locale_rfc5646 }}" {% if rtl %} dir="rtl" {% endif %}>
<head>
<meta charset="UTF-8" />
<meta
name="description"
content="Moa, a SearXNG-based and free metasearch that respects your privacy"
/>
<meta
name="keywords"
content="MOA, SearXNG, search, search engine, metasearch, meta search"
/>
<meta name="generator" content="searxng/{{ searx_version }}" />
<meta name="referrer" content="no-referrer" />
<meta name="robots" content="noarchive" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="HandheldFriendly" content="True" />
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
<title>{{ instance_name }} {% block title %}{% endblock %}</title>
{% block meta %}{% endblock %} {% if rtl %}
<link
rel="stylesheet"
href="{{ url_for('static', filename='css/rtl-style.css') }}"
type="text/css"
media="screen"
/>
{% else %}
<link
rel="stylesheet"
href="{{ url_for('static', filename='css/ltr-style.css') }}"
type="text/css"
media="screen"
/>
{% endif %} {% if get_setting('server.limiter') or
get_setting('server.public_instance') %}
<link
rel="stylesheet"
href="{{ url_for('client_token', token=link_token) }}"
type="text/css"
/>
{% endif %} {% block styles %}{% endblock %} {% block head %}
<link
title="{{ instance_name }}"
type="application/opensearchdescription+xml"
rel="search"
href="{{ opensearch_url }}"
/>
{% endblock %}
<link rel="icon" href="/favicon.ico" sizes="any" />
{#
<link
rel="icon"
href="{{ url_for('static', filename='img/favicon.svg') }}"
type="image/svg+xml"
/>
#}
<link rel="apple-touch-icon" href="/favicon.ico" />
</head>
<body>
<div id="{{ endpoint }}" class="body-container">
{% block body %} {% include 'smart/footer.html' %}
<header>{% block header %} {% endblock %}</header>
<main>
{% if errors %}
<div class="dialog-error" role="alert">
<a href="#" class="close" aria-label="close" title="close"
>×</a
>
<ul>
{% for message in errors %}
<li>{{ message }}</li>
{% endfor %}
</ul>
</div>
{% endif %} {% block content %} {% endblock %}
</main>
{% endblock body %}
</div>
{% if endpoint == 'index' or endpoint == 'results' %} {% include
'smart/madules/sidebar.html' %} {% endif %}
<script src="{{ url_for('static', filename='js/app.js') }}"></script>
</body>
</html>