Closed tobrien closed 10 months ago
Although still valid, this is not the correct change. Nesting can happen (almost) any time a key contains a hyphen. In other words, the following two are equivalent:
title-page:
authors:
font-color: #ff0000
title-page-authors:
font-color: #ff0000
However, the former is preferred since it avoids having to repeat the title-page-
prefix when defining other keys in that category, such as title and logo. In other words, it's a shorthand.
In fact, even this is valid:
title:
page:
authors:
font:
color: #ff0000
But this is unnecessarily verbose.
I've added a clarification about this to the docs. See https://docs.asciidoctor.org/pdf-converter/latest/theme/keys/#category-keys
The source examples in the title-page-authors key section were referencing source that still contained title-page. I've modified the source examples to align with the name of the key.