From 2d09f5dba13fe805fcae90ed348b3a3bf4593315 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 10 Dec 2017 10:48:58 +0530 Subject: [PATCH] User Manual: Fix errors caused by change to google custom search API --- manual/templates/search.html | 31 ++++++------------------------- manual/templates/searchbox.html | 6 ++---- 2 files changed, 8 insertions(+), 29 deletions(-) diff --git a/manual/templates/search.html b/manual/templates/search.html index 519c2356dd..0cbff5d03a 100644 --- a/manual/templates/search.html +++ b/manual/templates/search.html @@ -9,10 +9,6 @@ #} {% extends "layout.html" %} {% set title = _('Search') %} -{% block extrahead %} - - {{ super() }} -{% endblock %} {% block body %}

{{ _('Search') }}

@@ -23,26 +19,11 @@

- {% trans %}From here you can search these documents. Enter your search - words into the box below and click "search". Note that the search - function will automatically search for all of the words. Pages - containing fewer words won't appear in the result list.{% endtrans %} + {% trans %}From here you can search the User Manual. Enter your search + words into the box below and click "search". + {% endtrans %}

-
Loading
- - + {% endblock %} diff --git a/manual/templates/searchbox.html b/manual/templates/searchbox.html index ecb04297ea..499672921c 100644 --- a/manual/templates/searchbox.html +++ b/manual/templates/searchbox.html @@ -1,13 +1,11 @@ {%- if pagename != "search" and builder != "singlehtml" %} -