Commit Graph

10 Commits

Author SHA1 Message Date
Aditya Telange 97b373d9ee
Fix irregular spacing in seach title and svg icon 2021-09-05 18:22:39 +05:30
Aditya Telange c437ee1b62
Add `placeholder` param to let users customize
placeholder in search input box
2021-09-05 18:22:24 +05:30
Achim Blanarsch 8c313af0f3
Add missing spacing between search title and icon (#351) 2021-04-13 12:53:41 +05:30
Aditya Telange 196b82645e
Fix Spacing in overall repo 2021-03-30 18:26:43 +05:30
Aditya Telange e03348c041
improve search
- fix menu element becoming inactive
      change class active -> focus
    - set input type seach #198
    - add a reset func
    - add script to clear searchbox
      when clicked on X sign
2021-02-07 21:40:27 +05:30
Aditya Telange 7170eda172
translation list separate partial 2021-02-06 23:50:19 +05:30
Aditya Telange 9257321547
Add description to other layouts
- helps adding description to sub-sections,
  search, terms, archive pages
2021-01-27 21:31:33 +05:30
Florian Kohrt 2b3baf94bb
Make some page settings also configurable site wide (#182)
Adds **local** and **global** param to following front-matter vars:
- hideMeta
- ShowToc
- TocOpen
- comments

Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2021-01-17 12:25:35 +05:30
Aditya Telange b7f8749cdf
Search: Keyboard Bindings for easier navigation (#138)
* set up basic actions on keypress
* add actions to perform conditionally
* add simple highlight animation
* prevent mouseclick to change active element
* clear input box on Escape
* click on Arrow Right
* clear results and focus search-input on esc
* refactor
2020-12-18 11:45:10 +05:30
Aditya Telange 4a4408573e
search: init Search feature (#105)
* based on https://gist.github.com/cmod/5410eae147e4318164258742dd053993
* modified working for PaperMod
* fetches current lang index.json for search
* add fuse.js v6.4.3 LICENSE: Apache License 2.0
* bundled fastsearch and fusejs as search.js

Co-authored-by: Craig Mod <stuff@craigmod.com>
2020-12-06 18:19:50 +05:30