Explorar o código

Fixed issue where tipue search json file generated 301

Brian Levin %!s(int64=11) %!d(string=hai) anos
pai
achega
4f6cbffb36
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      templates/search.html

+ 1 - 1
templates/search.html

@@ -28,7 +28,7 @@ $(document).ready(function() {
          'newWindow': false,
          {# I cannot place following statements in the conditionals above because then Tipue Search fails to work. Possibly a bug in Tipue Search. #}
          {% if 'tipue_search' in PLUGINS %}
-             'contentLocation': '{{ SITEURL }}/tipuesearch_content.json'
+             'contentLocation': 'tipuesearch_content.json'
          {% else %}
              'liveDescription': '.article-content'
          {% endif %}