Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update URL key #8

Open
jondashkyle opened this issue May 23, 2018 · 0 comments
Open

Update URL key #8

jondashkyle opened this issue May 23, 2018 · 0 comments

Comments

@jondashkyle
Copy link
Owner

jondashkyle commented May 23, 2018

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'
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant