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

github.com/WingLim/hugo-tania.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWingLim <643089849@qq.com>2021-06-13 11:47:02 +0300
committerGitHub <noreply@github.com>2021-06-13 11:47:02 +0300
commit00dd4c03613926c598b7d987285f25169ecd33e8 (patch)
tree6d8ded8e566d86315a4b43c906b69b06a8ae5ca9 /README.md
parent44cb34cbb4d07e4d56a00629518eeafa2a166574 (diff)
feat(search): search in articles page (#13)
* feat: add search input * feat: use fuse to search * refactor: use div as results container * refactor: init fuse once * feat: set threshold 0.4 * feat: set fuse threshold to 0.3 0.3 search result looks better 0.4 * refactor: simplify result render * chore: make search input full width * docs: use yaml header * feat: add categories and tags filter * fix: searching in contents * fix: search input is empty * refactor: remove unused function * fix: add listener in articles page * refactor: rename articles to articlesList * docs: add comments * refactor: show categories only * feat: limit categories count
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index e6907c2..d8cf056 100644
--- a/README.md
+++ b/README.md
@@ -66,6 +66,13 @@ If you want to disable the float footnotes, add below params.
enableFootnotes: false
```
+Limit how many categories filter show above search input.
+
+Default is `5`
+```yaml
+maxCategoryToShow: 10
+```
+
### Layout
`articles` layout is for showing all articles you write.