diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2024-01-27 10:47:28 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2024-01-27 10:47:28 +0100 |
commit | fc7de7136acbcf0aef54ae8460c7702bc83709be (patch) | |
tree | c109bb4dd1f1b054db476e7e4117f79bdd62ec9e /docs/content/en/hugo-modules/_index.md | |
parent | 1083bf7c08e6f35826279065b8a09a16cc991c7f (diff) |
docs: Prepare for new sub tree
See #11925
Diffstat (limited to 'docs/content/en/hugo-modules/_index.md')
-rw-r--r-- | docs/content/en/hugo-modules/_index.md | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/docs/content/en/hugo-modules/_index.md b/docs/content/en/hugo-modules/_index.md deleted file mode 100644 index cbff13ad0..000000000 --- a/docs/content/en/hugo-modules/_index.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: Hugo Modules -linkTitle: Overview -description: How to use Hugo Modules. -categories: [] -keywords: [] -menu: - docs: - identifier: hugo-modules-overview - parent: modules - weight: 10 -weight: 10 -toc: true -aliases: [/themes/overview/,/themes/] ---- - -**Hugo Modules** are the core building blocks in Hugo. A _module_ can be your main project or a smaller module providing one or more of the 7 component types defined in Hugo: **static**, **content**, **layouts**, **data**, **assets**, **i18n**, and **archetypes**. - -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 are 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://go.dev/blog/using-go-modules](https://go.dev/blog/using-go-modules) - -Some example projects: - -- [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 Hugo’s 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. |