2020-04-07 23:12:16 +03:00
|
|
|
<html>
|
|
|
|
<head>
|
2020-10-29 18:09:31 +03:00
|
|
|
<link rel="shortcut icon" href="static/img/favicon.ico" type="image/x-icon">
|
|
|
|
<link rel="icon" href="static/img/favicon.ico" type="image/x-icon">
|
|
|
|
<link rel="search" href="opensearch.xml" type="application/opensearchdescription+xml" title="Whoogle Search">
|
2020-04-07 23:12:16 +03:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2020-05-06 03:28:43 +03:00
|
|
|
<meta name="referrer" content="no-referrer">
|
2021-07-01 02:00:01 +03:00
|
|
|
<link rel="stylesheet" href="{{ cb_url('input.css') }}">
|
|
|
|
<link rel="stylesheet" href="{{ cb_url('search.css') }}">
|
|
|
|
<link rel="stylesheet" href="{{ cb_url('header.css') }}">
|
|
|
|
{% if config.theme %}
|
|
|
|
{% if config.theme == 'system' %}
|
|
|
|
<style>
|
|
|
|
@import "{{ cb_url('light-theme.css') }}" screen;
|
|
|
|
@import "{{ cb_url('dark-theme.css') }}" screen and (prefers-color-scheme: dark);
|
|
|
|
</style>
|
|
|
|
{% else %}
|
|
|
|
<link rel="stylesheet" href="{{ cb_url(config.theme + '-theme.css') }}"/>
|
|
|
|
{% endif %}
|
2021-06-28 17:26:51 +03:00
|
|
|
{% else %}
|
2021-07-01 02:00:01 +03:00
|
|
|
<link rel="stylesheet" href="{{ cb_url(('dark' if config.dark else 'light') + '-theme.css') }}"/>
|
2021-06-28 17:26:51 +03:00
|
|
|
{% endif %}
|
2021-03-21 04:21:41 +03:00
|
|
|
<style>{{ config.style }}</style>
|
2021-06-04 18:09:30 +03:00
|
|
|
<title>{{ clean_query(query) }} - Whoogle Search</title>
|
2020-04-07 23:12:16 +03:00
|
|
|
</head>
|
|
|
|
<body>
|
2020-06-11 22:25:23 +03:00
|
|
|
{{ search_header|safe }}
|
2021-06-15 17:14:42 +03:00
|
|
|
{% if is_translation %}
|
|
|
|
<iframe
|
|
|
|
id="lingva-iframe"
|
|
|
|
src="{{ lingva_url }}/auto/{{ translate_to }}/{{ translate_str }}">
|
|
|
|
</iframe>
|
|
|
|
{% endif %}
|
2020-06-11 22:25:23 +03:00
|
|
|
{{ response|safe }}
|
2020-04-07 23:12:16 +03:00
|
|
|
</body>
|
2020-06-11 22:25:23 +03:00
|
|
|
<footer>
|
2021-06-28 17:26:51 +03:00
|
|
|
<p class="footer">
|
2020-06-11 22:25:23 +03:00
|
|
|
Whoogle Search v{{ version_number }} ||
|
2021-05-25 00:03:02 +03:00
|
|
|
<a id="gh-link" href="https://github.com/benbusby/whoogle-search">{{ translation['github-link'] }}</a>
|
2020-06-11 22:25:23 +03:00
|
|
|
</p>
|
|
|
|
</footer>
|
2021-07-01 02:00:01 +03:00
|
|
|
<script src="{{ cb_url('autocomplete.js') }}"></script>
|
|
|
|
<script src="{{ cb_url('utils.js') }}"></script>
|
|
|
|
<script src="{{ cb_url('keyboard.js') }}"></script>
|
2020-04-07 23:12:16 +03:00
|
|
|
</html>
|