Topics inherit the metadata key values of their parent topics, and of the document. It is possible to prevent this behavior for selected metadata keys.
To do so:
- Create a
.config.ini
file in the root directory, or in theassets
folder. -
Add the following:
INHERITANCE_IGNORED_KEYS=example1, example2
example1
andexample2
correspond to metadata keys. Separate metadata keys by a space and a comma. -
Save the file.
- Publish.
In this example, topics do not inherit the example1
and example2
values of their parent topics, and of the document.