Update _index.md

It's some days since Hugo modules were introduced and I still can't wrap my head around ;) I think it's important to have more links about it and the example repos from the announcement linked here until the documentation is good enough to stand on it's own.
This commit is contained in:
Patrick Kollitsch
2019-08-08 16:18:01 +02:00
committed by Bjørn Erik Pedersen
parent f9c01d474d
commit 446fa85ad6
+8
View File
@@ -21,4 +21,12 @@ toc: true
You can combine modules in any combination you like, and even mount directories from non-Hugo projects, forming a big, virtual union file system.
Hugo Modules is powered by Go Modules. For more information about Go Modules, see:
- [https://github.com/golang/go/wiki/Modules](https://github.com/golang/go/wiki/Modules)
- [https://blog.golang.org/using-go-modules](https://blog.golang.org/using-go-modules)
This is all very much brand new and there are only a few example projects around:
- [https://github.com/bep/docuapi](https://github.com/bep/docuapi) is a theme that has been ported to Hugo Modules while testing this feature. It is a good example of a non-Hugo-project mounted into Hugos folder structure. It even shows a JS Bundler implementation in regular Go templates.
- [https://github.com/bep/my-modular-site](https://github.com/bep/my-modular-site) is a very simple site used for testing.