Can I generate posts from .Site.Data?

Hi, say I have data/ structure like:

data/
└── 2020
    ├── bar
    │   └── index.json
    └── foo
        └── index.json

Can I generate pages like

I know I can create a list with layouts/list.html but I’m unsure how to actually create the pages…

Thanks!

Sidenote: Related to my post How do show only filename matching index.json in data/?

I believe I have asked basically the same thing a few hours ago.

Essentially I think a content/page needs to exist with Hugo, so my plans are scuppered. Now my tact is to stuff metadata into post front matter.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.