Check PLUGINS variable for tipue_search instead of using USE_TIPUE_SEARCH
This commit is contained in:
parent
31e56276ea
commit
bc855d825b
2 changed files with 5 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
{% if USE_TIPUE_SEARCH %} {% extends 'base.html' %} {% block title %} {{ _('Search') }} - {{ SITENAME|striptags }} {% endblock title %} {% block content %}
|
||||
{% if 'tipue_search' in PLUGINS %} {% extends 'base.html' %} {% block title %} {{ _('Search') }} - {{ SITENAME|striptags }} {% endblock title %} {% block content %}
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$('#tipue_search_input').tipuesearch({
|
||||
|
@ -16,4 +16,4 @@
|
|||
<div id="tipue_search_content"></div>
|
||||
</article>
|
||||
|
||||
{% endblock content %} {% endif %}
|
||||
{% endblock content %} {% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue