WARN: found no layout file for html for kind taxonomy (own theme)

Hi,

I am working on my own theme/site at the moment and get the following warning:

WARN found no layout file for “html” for kind “taxonomy”: You should create a template file which matches Hugo Layouts Lookup Rules for this combination.

May be that is because I do not have a themes folder or a html/taxonomy-file.

Here is my project structure:

I do not have a themes folder, because that is my own site and I do not want to publish it as a theme on hugo. May be later, if I have more experience.

usually I would expect you get the same for term

if you don’t use them just add this to your hugo.toml:

disableKinds = [ "taxonomy", "term" ]

make sure this is set before the first table entry.

hint:
if you are just starting, maybe use the new post 0.146.0 template folder structure. see: New template system in Hugo v0.146.0

Thanks @irkode that works. (disable kinds)

I have changed my folder structure to this now:

The site is still running :slight_smile:

1 Like