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:
authorIvan Boothe <git@rootwork.org>2022-04-08 01:13:48 +0300
committerGitHub <noreply@github.com>2022-04-08 01:13:48 +0300
commit7f980daaa6dbb6823a7ce1474e2329022408947a (patch)
tree360a9cdfcbff24774788459d87646b8c703ea346 /README.md
parent6bc1ee12cccfaae93f0851b0053ac9cb96812c0f (diff)
parentf40414b5292c3af64ee46adc9efb8f034c7465e2 (diff)
Merge branch 'master' into remove-image-errors
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 10 insertions, 8 deletions
diff --git a/README.md b/README.md
index fddbe03..585d567 100644
--- a/README.md
+++ b/README.md
@@ -58,6 +58,8 @@ A technology-minded theme for Hugo based on VMware's open-source [Clarity Design
* Blog with tagging and category options
+* Search
+
* Deeplinks
* Choice of whether to use [Hugo Page Bundles](https://gohugo.io/content-management/page-bundles/)
@@ -784,12 +786,12 @@ Likewise, the site configuration option `showRelatedInSidebar` controls if relat
### Search
-Ensure you have these settings inside your configuration files
+Search is currently a BETA feature. Ensure you have these settings inside your configuration files:
```toml
# config/_default/config.toml
[outputs]
- home = ["HTML", "RSS","JSON"]
+ home = ["HTML", "RSS","JSON"]
```
```toml
@@ -797,18 +799,18 @@ Ensure you have these settings inside your configuration files
enableSearch = true
```
-Compose implements `fuse.js` to enable search functionality. At the time of this writing, search on these theme takes either of this forms:
+[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__
- This occurs only when the user loads the search page i.e `/search/`. They can directly navigate to that url. Alternatively, the user can type you search query on the search field and click enter. They will be redirected to the search page which will contain matched results if any.
+ This occurs only when the user loads the search page i.e `/search/`. They can directly navigate to that url. Alternatively, the user can type the search query on the search field and hit enter. They will be redirected to the search page which will contain matched results if any.
- Currently, this only works on the default language. Support for multilingual passive search coming soon.
+ Currently, this only works on the default language. Support for multilingual passive search is coming soon.
2. __Live search__
- This behaviour will be obvious as the user types a search query on the search field. All `valid search queries`, will yield a list of `quick links` or a simple `no matches found`. Else, the user will be prompted to continue typing.
+ This behavior will be obvious as the user types a search query on the search field. All valid search queries will yield a list of quick links or a simple "no matches found". Else, the user will be prompted to continue typing.
- live search works even for multilingual sites.
+ Live search works even for multilingual sites.
- For chinese-like languages, it may or may not work.
+ For Chinese-like languages, it may or may not work.