fix search.json and unmangle the minified file to see if we can get through the github pages problem.

This commit is contained in:
Kevin Ross 2015-12-23 17:59:39 -06:00
parent 7d1f0ffe36
commit 46537635b0
2 changed files with 2 additions and 2 deletions

View File

@ -258,7 +258,7 @@ module.exports = function (grunt) {
compress: {
warnings: true
},
mangle: true,
mangle: false,
preserveComments: /^!|@preserve|@license|@cc_on/i
},
core: {

View File

@ -47,7 +47,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 %}