Thanks for your reply. I’m turning Json files into pages using the content adapter.
Before the html output is created, I’m referencing those pages from other pages, and extracting params data, like an image url, title, etc.
Joe demonstrated how to ‘not’ render pages for that given adapter here:
In this case, I’d like to build the pages, but not render taxonomy pages.
In other words, if the json file has an entry with "tags": "[\"example-tag\"]",
,
In public/tags/
gets this structure:
Because there are many of them, and they take a lot of time build, I’d rather Hugo skips creating the ‘example-tag’ folder.
Anyway, I think this is what you are suggesting:
{{ $taxonomyPage := dict
"kind" "taxonomy"
"path" (printf `%s` "tags/")
"cascade.build" (dict "render" "never" "list" "never" "publishResources" "false")
}}
{{- $.AddPage $taxonomyPage -}}
That didn’t do it, but I will play around that and see if I get it