I am quite successful doing my uphill battle against hugo modules. I managed to use a theme as module both with the “theme = github.com…” notation and the new module import notation.
I even made a sample module that seems to work.
hugo mod get https://github.com/juh2/example-render-image
works an I have this in go.mod:
require github.com/juh2/example-render-image v0.0.0-20231106075550-d64dcdbc425a // indirect
But I am not able to use the render hook. All I get is the default image tag rendered by the builtin code.
I tried several import configurations.
What do I miss?