diff options
author | Stefan Rasmusson <rasmusson.stefan@gmail.com> | 2022-06-27 15:45:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-27 15:45:43 +0300 |
commit | ebb2491f489de01a15ff4f4bdc27cf3d34edb162 (patch) | |
tree | 545e8f1f00e89f0548cb4ab5b2a48fd8008ff10d | |
parent | 6347e453406917e5c9c99b3af2a2eacb4a407b8b (diff) | |
parent | 060d45f36484305be81ac3ff4afcd4a071b104df (diff) |
Merge pull request #1 from rasmusson/rasmusson-add-search-md-instruction
Added instruction to add search.md
-rw-r--r-- | README.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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. |