Hugo Page Bundle

Hugo has Leaf Bundles, Branch Bundles and Headless Bundles.

A directory will generally have have an _index.md or index.md file, depending on context.

  • If the page has assets that you want stored locally, it’s a Leaf Bundle and will have index.md for that page, along with the assets.
  • If there are multiple pages at that URL folder level it will have _index.md.
  • If there are subfolders, it’s a branch bundle and will have _index.md.
  • A headless bundle is a page that exists as a place for shared assets.

References