Added instruction to add search.md
+3 −1 · 1 file changed
-
README.md+3 −1
@@ -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.