Skip to content

Support object / dictionary types in template options #2909

@choldgraf

Description

@choldgraf

site.options values are limited to individual elements (e.g. string, bool, false, etc). But sometimes you want to pass a dictionary for more expressiveness. For example, the following config would use an array and a dictionary in the config:

site:
  options:
    foo:
      one: two
      three: four

nested key: val configuration is a common pattern in projects, so I


Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions