I placed the [module.mounts] code into the hugo.toml config in theme directory.
my-hugo-projects/themes/my-theme/hugo.toml
[module]
[[module.mounts]]
source = "assets"
target = "assets"
And it leaves error messages:
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.
WARN found no layout file for "html" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN found no layout file for "html" for kind "home": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
However, when I place that config in the hugo.toml at root, no problems arise. What could be the issue?
Please help, thankyou