diff options
author | WingLim <643089849@qq.com> | 2021-06-13 11:47:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-13 11:47:02 +0300 |
commit | 00dd4c03613926c598b7d987285f25169ecd33e8 (patch) | |
tree | 6d8ded8e566d86315a4b43c906b69b06a8ae5ca9 /README.md | |
parent | 44cb34cbb4d07e4d56a00629518eeafa2a166574 (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.md | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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. |