I have been using Hugo for a while now, with a hobbeled theme installed at the root of my Hugo project.
I am now in the process of a refresh using a 3rd-party theme (hugo-narrow). I initially went down the route of using git submodules, but now want to use hugo mod.
Having no experience with hugo mod I suspect I am not getting the results that I think should occur. The themeβs documentation describes the steps one needs to take. When I execute hugo mod get github.com/tom2almighty/hugo-narrow I expected the theme to be pulled into my project. But that does not occur. The only change is a new go.sum file is created:
Thanks for your explanation. It helped clear up most of my confusion.
The other part of my confusion was that hugo mod get would not return any information when executed earlier today, in contradiction to what I have seen in other posts. But now it is returning:
> hugo mod get github.com/tom2almighty/hugo-narrow
go: downloading github.com/tom2almighty/hugo-narrow v1.2.2
go: added github.com/tom2almighty/hugo-narrow v1.2.2
I do recall that GitHub was intermittently showing the unicorn error earlier today. Maybe hugo mod get fails quietly if GitHub is offline. I would have to test it later.