Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aral opened this issue Dec 25, 2017 · 1 comment
Open

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

aral opened this issue Dec 25, 2017 · 1 comment

Comments

@aral
Copy link

aral commented Dec 25, 2017

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 aral changed the title Add Search via Lunr (see Hugo Learn Theme for reference) Add search feature via Lunr (see Hugo Learn Theme for reference) Dec 25, 2017
@aral
Copy link
Author

aral commented Dec 25, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant