diff --git a/templates/base.html b/templates/base.html index fca8d45..ffb8fc0 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 PLUGINS and 'tipue_search' in PLUGINS %} + {% if PLUGINS and ('tipue_search' in PLUGINS or 'pelican.plugins.tipue_search' in PLUGINS) %} {% endif %} @@ -174,7 +174,7 @@ {% if SITESUBTITLE %}

{{ SITESUBTITLE }}

{% endif %} - {% if PLUGINS and 'tipue_search' in PLUGINS %} + {% if PLUGINS and ('tipue_search' in PLUGINS or 'pelican.plugins.tipue_search' in PLUGINS)%} diff --git a/templates/search.html b/templates/search.html index 2af8292..9a15f65 100644 --- a/templates/search.html +++ b/templates/search.html @@ -1,4 +1,4 @@ -{% if PLUGINS and 'tipue_search' in PLUGINS %} +{% if PLUGINS and ('tipue_search' in PLUGINS or 'pelican.plugins.tipue_search' in PLUGINS) %} {% extends 'base.html' %} {% block title %}{{ _('Search') }} - {{ SITENAME|striptags }}{% endblock title %} {% block content %}