base.html 1.4 KB

123456789101112131415161718192021222324252627282930313233
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  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="viewport" content="width=device-width, maximum-scale=1.0, user-scalable=1" />
  9. <title>{% block title %}{% endblock %}searx</title>
  10. <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}" type="text/css" media="screen" />
  11. <link rel="shortcut icon" href="{{ url_for('static', filename='img/favicon.png') }}?v=2" />
  12. {% block styles %}
  13. {% endblock %}
  14. {% block head %}
  15. <link title="searx" type="application/opensearchdescription+xml" rel="search" href="{{ url_for('opensearch') }}"/>
  16. {% endblock %}
  17. </head>
  18. <body>
  19. <div id="container">
  20. {% block content %}
  21. {% endblock %}
  22. {% if autocomplete %}
  23. <script src="{{ url_for('static', filename='js/mootools-core-1.4.5-min.js') }}" ></script>
  24. <script src="{{ url_for('static', filename='js/mootools-autocompleter-1.1.2-min.js') }}" ></script>
  25. {% endif %}
  26. <script type="text/javascript">
  27. searx = {};
  28. searx.autocompleter = {% if autocomplete %}true{% else %}false{% endif %};
  29. </script>
  30. <script src="{{ url_for('static', filename='js/searx.js') }}" ></script>
  31. </div>
  32. </body>
  33. </html>