Skip to main content

Data

The Data directory stores only three file types: yaml, YAML, and JSON. What makes this directory distinctive is that once Hugo starts, its contents get loaded into Hugo's memory and stay there until the build finishes, without ever being cleared in between. Large structural files that aren't shared across multiple pages should go in the assets directory instead, since Hugo garbage-collects the memory assets files occupy once processing completes.

For usage details, see the official documentation.

Accessibility settings

Font size