Theme as Module cannot be found

@irkode is correct.

  • When you add a theme as a Hugo Module, specify an import path:

    [[module.imports]]
    path = 'github.com/owner/mytheme'
    
  • When you add a theme that resides in the themes directory, set the theme value:

    theme = 'mytheme' # to add a single theme
    theme = ['mytheme'] # to add one more themes with left-to-right precedence
    

Do one or the other… not both.

1 Like