mirror of
https://github.com/tcsenpai/obsidiangarden_netlify.git
synced 2025-06-03 19:40:03 +00:00

Context: having search is almots essential feature for most of the websites. This commit adds very basic functionality based on lunrjs library. It allows to build an use search index. Changes: - Build search index using 11ty template - Adds postbuild step to build lunr index - Adds netlify function to serve as API for search - Adds search page and links to notes pages - Wraps hashtags with proper styling and adds search by hashtag link to them - Adds missing obsidian class for content
5 lines
89 B
Plaintext
5 lines
89 B
Plaintext
node_modules
|
|
dist
|
|
netlify/functions/search/data.json
|
|
netlify/functions/search/index.json
|