← hugo-clarity

Added instruction to add search.md

060d45f36484305be81ac3ff4afcd4a071b104df · Stefan Rasmusson · Jun 27, 2022 14:40

+3 −1 · 1 file changed

  • README.md +3 −1
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.