Skip to content

Update URL key #8

@jondashkyle

Description

@jondashkyle

Currently there are url, path and source keys.

  • url: the formatted path (removes the parent content dir)
  • path: the unformatted path of the true location (includes the parent content dir)
  • source: used for remote content like https://example.com/

This should be updated to conform to Content State Schema.

  • url: for pages this is formatted, for files this is unformatted
  • source: used to define a remote location, makes it possible for other modules to fetch state

{
  '/about': {
    url: '/about'
  },
  'about/example.jpg': {
    url: '/content/about/example.jpg'
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions