cupper icon indicating copy to clipboard operation
cupper copied to clipboard

Add search feature via Lunr (see Hugo Learn Theme for reference)

Open aral opened this issue 8 years ago • 1 comments

The Hugo Learn Theme has Lunr-based search by default. This would be a valuable addition to Cupper and should be relatively easy to port from that theme.

Reference: https://learn.netlify.com/en/ Source: https://github.com/matcornic/hugo-theme-learn

aral avatar Dec 25 '17 14:12 aral

Just a quick update, I have a very basic integration of the Learn theme’s search functionality into Cupper. Doesn’t look good, haven’t had a chance to look into how accessible it is, but it’s there if you want to take a look:

https://github.com/aral/cupper-hugo-theme

I don’t know if I can keep hacking on this but hope this helps.

aral avatar Dec 25 '17 21:12 aral