Add optdepends for modules
Description:
Hugo can use optional modules which it will install automatically when called.
However it requires other software to do so, e.g. go
to install go modules.
Additional info:
- package version(s): 0.145.0-1
- config and/or log files: https://github.com/matrix-org/matrix-spec/blob/main/config/_default/hugo.toml
- link to upstream bug report, if any: n/a
Steps to reproduce:
- Uninstall
go
, installhugo
(this package) - Run
hugo serve
on a project using modules, e.g. https://github.com/matrix-org/matrix-spec uses github.com/matrix-org/docsy Error: command error: failed to load modules: failed to download modules: binary with name "go" not found in PATH