Nested Types


does Hugo support nested types, for example:

Blogs (main type)

  • Featured Blogs (nested type, available at blog/featured-blog/)
  • Latest Blogs (nested type, available at blog/latest-blog/)


Hugo currently support one level of section, so your example will work.

1 Like

Sadly, I’m already having issues:
I created the my first post with
hugo new page/ & then added index.html to page folder.
That index file opens up when I go to, but always points to 404.
I ran it with hugo server --theme=albatros --buildDrafts

Also, a public folder never gets created. :cry:

Drop the option “server” and you will get the public folder.


note: ‘hugo server’ will avoid writing the rendered and served content to disk, preferring to store it in memory.

1 Like