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

github.com/chipzoller/hugo-clarity.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Rasmusson <rasmusson.stefan@gmail.com>2022-06-27 15:40:58 +0300
committerGitHub <noreply@github.com>2022-06-27 15:40:58 +0300
commit060d45f36484305be81ac3ff4afcd4a071b104df (patch)
tree545e8f1f00e89f0548cb4ab5b2a48fd8008ff10d
parent6347e453406917e5c9c99b3af2a2eacb4a407b8b (diff)
Added instruction to add search.md
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index fd30a54..d4a1b5a 100644
--- a/README.md
+++ b/README.md
@@ -871,6 +871,8 @@ Search is currently a BETA feature. Ensure you have these settings inside your c
enableSearch = true
```
+Next add the [search.md file from the exampleSite](https://raw.githubusercontent.com/chipzoller/hugo-clarity/master/exampleSite/content/search.md) and add it to your content folder. This is not necessary if you recently created a site based on the example site and already have the file.
+
[Compose](https://github.com/onweru/compose), from which this feature is derived, implements `fuse.js` to enable search functionality. At the time of this writing, search on this theme takes either of the following forms:
1. __Passive search__
@@ -894,4 +896,4 @@ __Search Scope__
For example, if you have 3 sections in your content i.e `blog`, `docs` & `examples`, searching in the `docs` section will only produce results for that section.
- Searching outside a section will search the entire site.
- For example, with the above setup, searching from the homepage will produce results from the entire site. \ No newline at end of file
+ For example, with the above setup, searching from the homepage will produce results from the entire site.