maximevaillancourt / digital-garden-jekyll-template

Start your own digital garden using this Jekyll template 🌱

Home Page:https://digital-garden-jekyll-template.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Search bar with keyboard shortcut like in Notion.

fabriceliut opened this issue · comments

On my garden, I want to tap cmd+k and open a search bar with autocomplete to open directly a note I want :)
Could be great ! Like Afred app or like in Notion or Roam :) A news way to navigate on my site !

Screenshot 2020-12-04 at 11 16 31

Hi Fabrice, thanks for the suggestion. I won't add this to the template as I strive to keep the template simple and unopinionated to make it a good starting point for everyone to customize themselves. What's more, this would introduce a dependency on JavaScript and increase the size of payloads for visitors.

You may want to use lunr to implement this on your garden, indexing the files in the _notes/ directory. 🙂