-
|
Operating system:windows Hugo installation method: winget Hextra acquisition method: git Go environment present: none I think there might be something wrong with my steps, but I’m not sure where I went wrong. I spent nearly three hours trying to ask AI, but it only made things worse.Here’s what happened: I wanted to add a search bar to my website, so I started looking through your documentation. I found it, but it was in YAML. After trying for a long time, I still couldn’t get it to work inside my own TOML file, so I simply copied your file and started modifying it. However, a new problem appeared: although my website now displays the search bar, it doesn’t actually search anything—it’s just for show. I’ve tried various solutions, but none of them made it work. So now I’m here asking for help. If you’re willing to lend a hand, I’d be extremely grateful. I think I should paste the modified file that caused this problem here. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hi, thanks for opening the issue and sharing the details! I’d recommend starting with the starter template, since it provides a minimal working setup where the search is already functional out of the box. This way you can confirm the search feature works in your environment first. From there, you can gradually add your own content or migrate your configuration piece by piece. That usually helps isolate what might be causing the search to stop working. If you still run into issues after trying the starter template, please share any error messages (e.g. in the browser console) or your updated configuration so we can help troubleshoot further. |
Beta Was this translation helpful? Give feedback.
Hi, thanks for opening the issue and sharing the details!
I’d recommend starting with the starter template, since it provides a minimal working setup where the search is already functional out of the box. This way you can confirm the search feature works in your environment first.
From there, you can gradually add your own content or migrate your configuration piece by piece. That usually helps isolate what might be causing the search to stop working.
If you still run into issues after trying the starter template, please share any error messages (e.g. in the browser console) or your updated configuration so we can help troubleshoot further.