From 6fe38c69866b268a6cfb7cbfe3c7575f6920cc4d Mon Sep 17 00:00:00 2001 From: Lioman Date: Mon, 8 Mar 2021 11:39:40 +0100 Subject: [PATCH 1/2] Improve loading time - Move tipue search to bottom - remove duplicate line --- templates/base.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/templates/base.html b/templates/base.html index 9a8b5f2..5ff35dc 100644 --- a/templates/base.html +++ b/templates/base.html @@ -70,11 +70,6 @@ {% endif %} {% if PLUGINS and 'tipue_search' in PLUGINS %} - - - - - {% endif %} @@ -301,6 +296,10 @@ {% endif %} {% if PLUGINS and 'tipue_search' in PLUGINS %} + + + + - - - - - {% endif %} - {% block additional_js %}{% endblock %} diff --git a/templates/search.html b/templates/search.html index 1252834..2af8292 100644 --- a/templates/search.html +++ b/templates/search.html @@ -2,21 +2,26 @@ {% extends 'base.html' %} {% block title %}{{ _('Search') }} - {{ SITENAME|striptags }}{% endblock title %} {% block content %} - -
-
-

{{ _('Search Results') }}

-
-
+
+

{{ _('Search Results') }}

+
+
{% endblock content %} +{% block additional_js %} + + + + + +{% endblock additional_js %} {% endif %}