Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jeremybise/twentynineteen-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--static/js/search.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/static/js/search.js b/static/js/search.js
index d6204d5..17ac0f9 100644
--- a/static/js/search.js
+++ b/static/js/search.js
@@ -33,7 +33,9 @@ function executeSearch(searchQuery) {
if (result.length > 0) {
populateResults(result);
} else {
- $("#search-results").append("<p>No matches found</p>");
+ $("#search-results").append(
+ "<article class='post entry'><div class='entry-content'>No matches found</div></article>"
+ );
}
});
}