How to make search on my blog work?

please help my search blog doesnt work, im new on this framework.

my repo

The theme that I use also search doesn’t work

i do some change with chatgpt, but it didn’t work, so I reset to the default.

The theme currently only provides a search input field. There’s an open issue for that Search blog by keywords is unavailable. · Issue #2 · fauzanmy/pehtheme-hugo · GitHub

The logic currently has to be implemented yourself. There are plenty of solutions for adding a search to a static site. Choose one and follow their instructions to add it to your site.

There are some borderlines when plugging together code snippets with ChatGPT - looks like you need to dig into some of the boring Hugo details here

For getting help maybe you should give some more info of your current status:

  • which search framework
  • what you tried
  • what does not work

maybe upvote the issue I mentioned above.

1 Like

I am trying to do the same; this article may be very helpful:
https://makewithhugo.com/add-search-to-a-hugo-site/

1 Like

thank you for reply, i found solution, even its not real solution,

i just make my search open to google with keyword site:mysite.com (keyword)