Parcourir la source

Update name of content_in_json plugin

Talha Mansoor il y a 11 ans
Parent
commit
90968cc9e9
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      templates/search.html

+ 2 - 2
templates/search.html

@@ -21,7 +21,7 @@ Search results for {{ SITENAME|striptags }} blog.
 <script>
 $(document).ready(function() {
      $('#tipue_search_input').tipuesearch({
-         {% if 'content_in_json' in PLUGINS %}
+         {% if 'json_serializer' in PLUGINS %}
              'mode' : 'json',
          {% else %}
              'mode': 'live',
@@ -29,7 +29,7 @@ $(document).ready(function() {
          'show': 10,
          'newWindow': true,
          {# I cannot place following statements in the conditionals above because then Tipue Search fails to work. Possibly a bug in Tipue Search. #}
-         {% if 'content_in_json' in PLUGINS %}
+         {% if 'json_serializer' in PLUGINS %}
              'contentLocation': '{{ SITEURL }}/tipuesearch_content.json'
          {% else %}
              'liveDescription': '.article-content'