Create condition for no search and add config/css

This commit is contained in:
Patrick Marsceill
2018-11-16 11:46:43 -05:00
parent 45eea0efb6
commit d11e332dc6
7 changed files with 18 additions and 8 deletions

View File

@@ -155,7 +155,9 @@ function initSearch() {
function ready(){
toggleNav();
initSearch();
if (typeof lunr !== 'undefined') {
initSearch();
}
}
// in case the document is already rendered