]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add prefix to footer.html search.json 18987/head
authorxcatliu <xcatliu@gmail.com>
Thu, 21 Jan 2016 05:29:34 +0000 (13:29 +0800)
committerxcatliu <xcatliu@gmail.com>
Thu, 21 Jan 2016 05:29:51 +0000 (13:29 +0800)
docs/_includes/footer.html

index 662ea1133c4d1df360397e5bca362a58fc2f4ca7..3b912c3228f14d541f5b34a07cee441e52b5cbef 100644 (file)
@@ -43,7 +43,7 @@ SimpleJekyllSearch.init({
   resultsContainer: document.getElementById('search-results'),
   searchResultTemplate: '<a class="dropdown-item" href="{url}">{title}</a>',
   noResultsText: '<div class="dropdown-item no-results">Sorry, there are no results for that search.</div>',
-  json: '/search.json'
+  json: '{{ site.baseurl }}/search.json'
 })
 </script>
 {% endif %}