Sections without template or index.html?


is there a way to layout sections without creating an index.html for the section itself?
Without section.html template I get the warning:

WARN 2022/05/23 12:57:38 found no layout file for "HTML" for kind "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.

The result is ok, so Iā€™d like to get rid of the warning. :wink:


You could disable that kind, for example:


disableKinds: ['section']