From bc855d825b86044a0d97c2a41635defd8bc4029e Mon Sep 17 00:00:00 2001 From: Sumner Evans Date: Mon, 20 Apr 2020 08:42:24 -0600 Subject: [PATCH] Check PLUGINS variable for tipue_search instead of using USE_TIPUE_SEARCH --- templates/base.html | 6 +++--- templates/search.html | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/base.html b/templates/base.html index da4208f..bc6b122 100644 --- a/templates/base.html +++ b/templates/base.html @@ -69,7 +69,7 @@ href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/pygments/{{ PYGMENTS_STYLE|default('github') }}.min.css"> {% endif %} - {% if USE_TIPUE_SEARCH %} + {% if 'tipue_search' in PLUGINS %} @@ -156,7 +156,7 @@

{{ SITETITLE }}

{% if SITESUBTITLE %}

{{ SITESUBTITLE }}

{% endif %} - {% if USE_TIPUE_SEARCH %} + {% if 'tipue_search' in PLUGINS %} @@ -276,7 +276,7 @@ {% include 'partial/github.html' %} {% endif %} - {% if USE_TIPUE_SEARCH %} + {% if 'tipue_search' in PLUGINS %}