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: {
|
compress: {
|
||||||
warnings: true
|
warnings: true
|
||||||
},
|
},
|
||||||
mangle: true,
|
mangle: false,
|
||||||
preserveComments: /^!|@preserve|@license|@cc_on/i
|
preserveComments: /^!|@preserve|@license|@cc_on/i
|
||||||
},
|
},
|
||||||
core: {
|
core: {
|
||||||
|
|
|
@ -47,7 +47,7 @@ SimpleJekyllSearch.init({
|
||||||
resultsContainer: document.getElementById('search-results'),
|
resultsContainer: document.getElementById('search-results'),
|
||||||
searchResultTemplate: '<a class="dropdown-item" href="{url}">{title}</a>',
|
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>',
|
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>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user