From 947190c41995f599353be1227d84a20e4b6ef48f Mon Sep 17 00:00:00 2001 From: neodarz Date: Fri, 26 Jun 2020 21:24:30 +0200 Subject: Inital commit --- sphinx_ascii_theme/search.html | 57 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 sphinx_ascii_theme/search.html (limited to 'sphinx_ascii_theme/search.html') diff --git a/sphinx_ascii_theme/search.html b/sphinx_ascii_theme/search.html new file mode 100644 index 0000000..daca302 --- /dev/null +++ b/sphinx_ascii_theme/search.html @@ -0,0 +1,57 @@ +{# + basic/search.html + ~~~~~~~~~~~~~~~~~ + + Template for the search page. + + :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS. + :license: BSD, see LICENSE for details. +#} +{%- extends "layout.html" %} +{% set title = _('Search') %} +{%- block scripts %} + {{ super() }} + +{%- endblock %} +{% block extrahead %} + + {{ super() }} +{% endblock %} +{% block body %} +

{{ _('Search') }}

+
+ +

+ {% trans %}Please activate JavaScript to enable the search + functionality.{% endtrans %} +

+
+

+ {% trans %}Searching for multiple words only shows matches that contain + all words.{% endtrans %} +

+ + {% if search_performed %} +

{{ _('Search Results') }}

+ {% if not search_results %} +

{{ _('Your search did not match any documents. Please make sure that all words are spelled correctly and that you\'ve selected enough categories.') }}

+ {% endif %} + {% endif %} +
+ {% if search_results %} + + {% endif %} +
+{% endblock %} -- cgit v1.2.1