Deployed 3baf59a with MkDocs version: 1.2.2

This commit is contained in:
2021-07-27 18:49:00 +00:00
parent b1a34edbbe
commit cbec732641
21 changed files with 127 additions and 404 deletions

View File

@ -37,7 +37,11 @@ function displayResults (results) {
search_results.insertAdjacentHTML('beforeend', html);
}
} else {
search_results.insertAdjacentHTML('beforeend', "<p>No results found</p>");
var noResultsText = search_results.getAttribute('data-no-results-text');
if (!noResultsText) {
noResultsText = "No results found";
}
search_results.insertAdjacentHTML('beforeend', '<p>' + noResultsText + '</p>');
}
}