logo

searx

My custom branche(s) on searx, a meta-search engine git clone https://hacktivis.me/git/searx.git

base.html (3140B)


  1. <!DOCTYPE html>
  2. <html class="no-js" lang="en" {% if rtl %} dir="rtl"{% endif %}>
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta name="description" content="searx - a privacy-respecting, hackable metasearch engine">
  6. <meta name="keywords" content="searx, search, search engine, metasearch, meta search">
  7. <meta name="generator" content="searx/{{ searx_version }}">
  8. <meta name="referrer" content="no-referrer">
  9. <meta name="robots" content="noarchive">
  10. <meta name="viewport" content="width=device-width, maximum-scale=1.0, user-scalable=1">
  11. <meta name="HandheldFriendly" content="True">
  12. <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
  13. <title>{% block title %}{% endblock %}searx</title>
  14. {% if rtl %}
  15. <link rel="stylesheet" href="{{ url_for('static', filename='css/searx-rtl.min.css') }}" type="text/css" media="screen" />
  16. {% else %}
  17. <link rel="stylesheet" href="{{ url_for('static', filename='css/searx.min.css') }}" type="text/css" media="screen" />
  18. {% endif %}
  19. {% block styles %}{% endblock %}
  20. {% block meta %}{% endblock %}
  21. {% block head %}
  22. <link title="{{ instance_name }}" type="application/opensearchdescription+xml" rel="search" href="{{ url_for('opensearch') }}"/>
  23. {% endblock %}
  24. <link rel="shortcut icon" href="{{ url_for('static', filename='img/favicon.png') }}" />
  25. <script type="text/javascript">
  26. var searx = {
  27. autocompleter: {% if autocomplete %}true{% else %}false{% endif %},
  28. method: "{{ method or 'POST' }}",
  29. touch: (("ontouchstart" in window) || window.DocumentTouch && document instanceof DocumentTouch) || false,
  30. staticPath: "{{ url_for('static', filename='themes/simple') }}/",
  31. noItemFound: "{{ _('No item found') }}",
  32. search_on_category_select: {{ 'true' if 'plugins/js/search_on_category_select.js' in scripts else 'false'}},
  33. infinite_scroll: {{ 'true' if 'plugins/js/infinite_scroll.js' in scripts else 'false' }}
  34. };
  35. document.getElementsByTagName("html")[0].className = (searx.touch)?"js touch":"js";
  36. </script>
  37. </head>
  38. <body>
  39. <main id="main_{{ self._TemplateReference__context.name|replace("simple/", "")|replace(".html", "") }}">
  40. {% if errors %}
  41. <div class="dialog-error" role="alert">
  42. <a href="#" class="close" aria-label="close" title="close">×</a>
  43. <ul>
  44. {% for message in errors %}
  45. <li>{{ message }}</li>
  46. {% endfor %}
  47. </ul>
  48. </div>
  49. {% endif %}
  50. {% block content %}
  51. {% endblock %}
  52. </main>
  53. <footer>
  54. <p>
  55. {{ _('Powered by') }} <a href="{{ url_for('about') }}">searx</a> - {{ searx_version }} - {{ _('a privacy-respecting, hackable metasearch engine') }}<br/>
  56. <a href="https://github.com/asciimoo/searx">{{ _('Source code') }}</a> |
  57. <a href="https://github.com/asciimoo/searx/issues">{{ _('Issue tracker') }}</a> |
  58. <a href="https://github.com/asciimoo/searx/wiki/Searx-instances">{{ _('Public instances') }}</a>
  59. </p>
  60. </footer>
  61. <!--[if gte IE 9]>-->
  62. <script src="{{ url_for('static', filename='js/searx.min.js') }}" ></script>
  63. <!--<![endif]-->
  64. </body>
  65. </html>