Fix Hugo PaperMod theme search not working problem

When I used PaperMod theme’s basic sample config to config my site, an error kept popping out whenever I opened the search page: // ../index.json Failed to load resource: the server responded with a status of 404 (Not Found) As expected, the search function was not working either. PaperMod has a FAQ related to this problem, but the solution is only for sites using a CDN to server assets from a different domain, but it’s not the case here....

2021-12-07 · 1 min