I’m trying to use modules to componentize some of my modifications to a public theme but I’m getting an error - and I think it’s because my assets are on Azure DevOps.
When I place the assets in a public github repo, Hugo downloads them fine. When I switch to my Azure repo, I get:
go get dev.azure.com/myorg/Familiarity/_git/myorg.hugo.assets: unrecognized import path "dev.azure.com/myorg/Familiarity/_git/myorg.hugo.assets": reading https://dev.azure.com/myorg/Familiarity/_git/myorg.hugo.assets?go-get=1: 203 Non-Authoritative Information
It’s not because it’s Azure DevOps, it’s because it’s a private repository. How, do you think, will Go access that repository? You will have to authenticate that Go call somehow. For that you need to know how Hugo is attempting to connect to a modules URL and then find out how to supply authentication to that call…
For a Github link it would just be a simple SSH authentication. If you can connect to that repo via ssh you can load it as Hugo module.