_index.md (1512B)
1 ---
2 title: Hugo Modules
3 linktitle: Hugo Modules Overview
4 description: How to use Hugo Modules.
5 date: 2017-02-01
6 publishdate: 2017-02-01
7 menu:
8 docs:
9 parent: "modules"
10 weight: 01
11 weight: 01
12 sections_weight: 01
13 categories: [hugo modules]
14 keywords: [themes,modules]
15 draft: false
16 aliases: [/themes/overview/,/themes/]
17 toc: true
18 ---
19
20 **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**.
21
22 You can combine modules in any combination you like, and even mount directories from non-Hugo projects, forming a big, virtual union file system.
23
24 Hugo Modules are powered by Go Modules. For more information about Go Modules, see:
25
26 - [https://github.com/golang/go/wiki/Modules](https://github.com/golang/go/wiki/Modules)
27 - [https://blog.golang.org/using-go-modules](https://blog.golang.org/using-go-modules)
28
29 This is all very much brand new and there are only a few example projects around:
30
31 - [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.
32 - [https://github.com/bep/my-modular-site](https://github.com/bep/my-modular-site) is a very simple site used for testing.