New to Hugo | is what I'm trying to do possible?

Hi, there’s pretty much first-class support for this!

You can use leaf bundles. Have a content/biographies/index.md with general content for the “list” page, and a markdown file for each person like content/biographies/jane-doe.md. No pages are generated for markdown files except index.md
In the corresponding biography single page template you can do this:

  <h1>{{ .Title }}</h1>
  <p>{{ .Content }}</p>
  {{ range .Resources.ByType "page" }}
    <h1>{{ .Title }}</h1>
    <p>{{ .Content }}</p>
  {{ end }}

You can of course put the biography markdown files to a deeper subfolder and access them with .Resources.Match instead.
If you don’t want to render the biography/index.md either, you can add headless: true to its front-matter and access the biography entries as specified here.

1 Like