Skip to content

Non-path based keys #4

@jongacnik

Description

@jongacnik

Potentially allow lookups for keys not formatted like a path. This is mainly for allowing edge-case arbitrary content (I've been doing this), for example your content object could be shaped like:

{
  'GLOBAL': {},
  '/': {},
  '/projects': {},
  '/projects/a': {}
}

Where GLOBAL is content that is general to the whole site. In your views you could then use something like:

page('GLOBAL').value('title')

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions