Go.mod for local and netlify deploy

Hi,

I would like to know:

  1. is there a chance to unse hugo modules on Neltify
  2. If yes How?

I was looking into this nice repo theNewDynamic/gohugo-theme-ananke (for inspiration)

and I was making the next steps:

  1. cd ./…/
  2. hugo new site “name-of-repo”
  3. From your project’s root directory, initiate the hugo module system if you haven’t already:
$ hugo mod init github.com/cromozooom/wdx-b4
  1. Add the theme’s repo to your config.toml:
  theme = ["github.com/cromozooom/calina"]

But both locally and on netlify I have this warnings:

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.
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.

Note that with this command: hugo mod vendor
it brings most of the files from repo but “layouts” is empty …

What is the fix?