mirror of
https://github.com/benbusby/whoogle-search
synced 2024-11-01 03:20:30 +00:00
1148a7fb8d
* Use relative links instead of absolute This allows for hosting under a subpath. For example if you want to host whoogle at example.com/whoogle, it should work better with a reverse proxy. * Use relative link for opensearch.xml
27 lines
1.2 KiB
HTML
27 lines
1.2 KiB
HTML
<html>
|
|
<head>
|
|
<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">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="referrer" content="no-referrer">
|
|
<script type="text/javascript" src="static/js/autocomplete.js"></script>
|
|
<link rel="stylesheet" href="static/css/{{ 'search-dark' if dark_mode else 'search' }}.css">
|
|
<link rel="stylesheet" href="static/css/header.css">
|
|
{% if dark_mode %}
|
|
<link rel="stylesheet" href="static/css/dark-theme.css"/>
|
|
{% endif %}
|
|
<title>{{ query }} - Whoogle Search</title>
|
|
</head>
|
|
<body>
|
|
{{ search_header|safe }}
|
|
{{ response|safe }}
|
|
</body>
|
|
<footer>
|
|
<p style="color: {{ '#fff' if dark_mode else '#000' }};">
|
|
Whoogle Search v{{ version_number }} ||
|
|
<a style="color: #685e79" href="https://github.com/benbusby/whoogle-search">View on GitHub</a>
|
|
</p>
|
|
</footer>
|
|
</html>
|