Commit Graph

4 Commits

Author SHA1 Message Date
Aditya Telange 575cc0ca8c
Use `site` function instead of `.Site` or `$.Site`
- The site function provides global access to the same data as the .Site page method.
- Current context (`.`) is never considered.
2022-03-27 18:44:06 +05:30
Aditya Telange c7b388346b
hide archives and search page from being searched 2021-01-30 12:53:14 +05:30
Aditya Telange 0c28a4ad5a
introduce searchHidden front-matter var
- to hide particular pages from search

usage:
in page's front-matter add
searchHidden: true
2021-01-30 12:50:16 +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