mirror of
https://github.com/thangisme/notes.git
synced 2025-11-23 13:12:25 -05:00
Create condition for no search and add config/css
This commit is contained in:
@@ -155,7 +155,9 @@ function initSearch() {
|
||||
|
||||
function ready(){
|
||||
toggleNav();
|
||||
initSearch();
|
||||
if (typeof lunr !== 'undefined') {
|
||||
initSearch();
|
||||
}
|
||||
}
|
||||
|
||||
// in case the document is already rendered
|
||||
|
||||
Reference in New Issue
Block a user