Gopher

Hugo Modules

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 is powered by Go Modules. For more information about Go Modules, see:

This is all very much brand new and there are only a few example projects around:

Configure Modules

This page describes the configuration options for a module. Read More »

Use Hugo Modules

How to use Hugo Modules to build and manage your site. Read More »

Theme Components

Hugo provides advanced theming support with Theme Components. Read More »