gohugoioTheme: how to disable search feature?

Hi,

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

gohugoioTheme/src/css/main.css:

@import '_anchorforid';

gohugoioTheme/src/js/main.js

import './docsearch.js'

Ciao
Marcus

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.