onweru / newsroom

A simple, minimalistic Hugo theme. View Demo here
https://rooms.netlify.app/
Other
287 stars 114 forks source link

feature request: search feature for post content #24

Open cbluth opened 4 years ago

cbluth commented 4 years ago

this is an amazing theme, thanks for creating it!

feature request: lunr.js search feature similar to other hugo themes, to search the content of the posts.

i am considering trying to implement this myself, into this theme. if it works, i will open a merge request

onweru commented 4 years ago

Awesome @cbluth. I have used fuse.js on another theme but my implementation is currently plagued with bugs. Been planning to update it soon. I look forward to what you may come up with.

MatthewMcD commented 2 years ago

My site, Guns, Dogs, and Food is hosted as a Static Web Site in Azure. I implemented search on my site using Azure Search (it's free). If you are using something similar my friend AC wrote a great post that walks through it all. (The CSS took me longer than the search implementation.) He has a second post on reindexing on build. Add Search-to Hugo Sites with Azure Search