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:
authorJeremy Bise <jeremy.bise@thosegeeks.com>2019-04-17 17:34:37 +0300
committerJeremy Bise <jeremy.bise@thosegeeks.com>2019-04-17 17:34:37 +0300
commit82cff7acefe14a7175301bfc934bfb87429fbf3e (patch)
tree556745d37d2d97bbfc9ae61b8cd2e4a0fc9aa23f
parent2095d341178a30956e66799428d229d7e6f363ea (diff)
format no matches
-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>"
+ );
}
});
}