gohugoioTheme: how to disable search feature?


is there another way to disable the search in /docs in gohugoioTheme, without generate CSS and javascript and remove


@import '_anchorforid';


import './docsearch.js'


Do you mean what more do you have to do? I don’t think anything, aside from taking out out the search form itself.

Just removing the search input field results in an JS error and the navigation in the /docs area doesn’t work any more.

The gohugoioTheme is built for the Hugo sites. It is open sourced, so you are free to try to get it working – but I expect you will have to debug this yourself.