Back to Hugo

component

docs/content/en/quick-reference/glossary/component.md

0.161.1687 B
Original Source

A component is a collection of related files, housed within the unified file system, that fulfills a specific function in building a Hugo project. These components are categorized into seven types: archetypes, assets, content, data, templates, translation tables, and static files, and can be defined within the project or provided by modules. Each component has a dedicated directory within the unified file system:

ComponentDirectory within the unified file system
archetypesarchetypes
assetsassets
contentcontent
datadata
templateslayouts
translation tablesi18n
static filesstatic
{class="!mt-0"}