Can Taxonomies be in a parent metadata?

Couldn’t find an answer. But is there a way to tell a taxonomy is within a parent metadata in the markdown file?

for example this is my front matter

+++
categories = ["real estate", "financing"]
featured_image = ""
title = "Second Blog"
+++

Am I able to tell Hugo that my categories is here instead:

+++
tags = ["house", "savings"]
title = "Second Blog"
[parent]
categories = ["real estate", "financing"]
+++

I don’t think so. You can do the reverse however, ie from the parent, define the child pages’ taxonomy through cascade.

1 Like