moves default go modules that the theme should import into the theme's config.toml so that any user of the theme will get the needed go modules via running hugo.
makes the example site pull the main theme as a module
adds Dependabot so updates are suggested as pull requests automatically and adds go.sum back to make this work right
makes hugo version consistent across module config and other files
Testing
One way to test this is to cd into the example site, add the line below to go.mod, and run hugo serve -w
This does a couple of things:
Testing
One way to test this is to cd into the example site, add the line below to
go.mod
, and runhugo serve -w
This method is per https://gohugo.io/hugo-modules/use-modules/#make-and-test-changes-in-a-module