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

Adding a search box for the website? #950

Open
davidlange6 opened this issue May 25, 2021 · 2 comments
Open

Adding a search box for the website? #950

davidlange6 opened this issue May 25, 2021 · 2 comments

Comments

@davidlange6
Copy link
Member

does anyone know an easy way to add a search box for the website?

@henryiii
Copy link
Collaborator

I see several options, probably depends on how you define "easy". Generally, you generate a file with all the searchable data, then use javascript to interface to it. https://learn.cloudcannon.com/jekyll/jekyll-search-using-lunr-js/ for example - https://github.com/christian-fei/Simple-Jekyll-Search also, but I think that's more blog posts (for us, news section) titles, whereas I assume we want (mostly page) content?

You could always do a google search with site:iris-hep.org added. ;) In fact, that's provided by Google here: https://support.google.com/programmable-search/answer/4513903. I think.

@rct225
Copy link
Collaborator

rct225 commented May 25, 2021

@henryiii I found this too - https://community.algolia.com/jekyll-algolia/

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

3 participants