mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-30 05:24:09 +03:00
fix search.json and unmangle the minified file to see if we can get through the github pages problem.
This commit is contained in:
parent
7d1f0ffe36
commit
46537635b0
|
@ -258,7 +258,7 @@ module.exports = function (grunt) {
|
|||
compress: {
|
||||
warnings: true
|
||||
},
|
||||
mangle: true,
|
||||
mangle: false,
|
||||
preserveComments: /^!|@preserve|@license|@cc_on/i
|
||||
},
|
||||
core: {
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user