Child pages
  • How to keep profiles.yml DRY
Skip to end of metadata
Go to start of metadata

YAML allows you to use anchors (&), similar to ID attributes in XML, and reference them later on (*). For example, if you have two profiles that are identical, you can tell YAML that one is an alias for the other:

If you have two elements that are almost identical, you can merge the values of one element into another (<<), for example:

  • No labels