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 site search #66

Open
alanorth opened this issue Apr 30, 2017 · 4 comments
Open

Add site search #66

alanorth opened this issue Apr 30, 2017 · 4 comments

Comments

@alanorth
Copy link
Owner

Hugo 0.20 allows custom output formats such as JSON which can be fed to client-side search engines like Lunr.js to implement a search facility. See the hugo-theme-docdock theme for an example.

@fte378
Copy link
Contributor

fte378 commented Apr 28, 2018

Here is an interesting article: https://www.stavros.io/posts/bloom-filter-search-engine/

Bloom filters provide a way to reduce the amount of data which has to be transferred initially with the side effect of having false positives.

@Jieiku
Copy link
Contributor

Jieiku commented Jan 24, 2020

another option is to have a search box that actually makes use of the google search engine: https://cse.google.com/cse/

@fte378
Copy link
Contributor

fte378 commented May 26, 2020

I would not use a Google search box. I don't use Google for searching either and I don't have a Google account anymore.
A solution which doesn't send any data to some third party would be my favourite.

@Jieiku
Copy link
Contributor

Jieiku commented May 29, 2022

I ended up Making a Theme for my blog using Zola instead of Hugo. The hugo-theme-bootstrap4-blog theme which I used for a very long time was a big part of the inspiration for https://github.com/Jieiku/abridge it has search built in, you can try it out here: https://abridge.netlify.app/ (search for zola, then press enter or the search icon)

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

No branches or pull requests

3 participants