alanorth / hugo-theme-bootstrap4-blog

A blogging-centric Bootstrap v4 theme for the Hugo static site generator.
Other
204 stars 132 forks source link

Add site search #66

Open alanorth opened 7 years ago

alanorth commented 7 years ago

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 commented 6 years ago

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 commented 4 years ago

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

fte378 commented 4 years ago

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 commented 2 years ago

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)