瀏覽代碼

Update name of content_in_json plugin

Talha Mansoor 11 年之前
父節點
當前提交
1e71b8b04a
共有 1 個文件被更改,包括 2 次插入2 次删除
  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 'json_serializer' in PLUGINS %}
+         {% if 'tipue_search' 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 'json_serializer' in PLUGINS %}
+         {% if 'tipue_search' in PLUGINS %}
              'contentLocation': '{{ SITEURL }}/tipuesearch_content.json'
          {% else %}
              'liveDescription': '.article-content'