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

feat(frontmatter handling): handle published and slug parameters #204

Merged
merged 2 commits into from
Jan 21, 2020

Conversation

SanderElias
Copy link
Contributor

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Other... Please describe:

What is the current behavior?

none, as this is a new feature

What is the new behavior?

a couple of things:

  1. handle published in content files. When this is set to false, there will be a temporary slug where the file is rendered, and it's taken out of the available$ observable in sullyRouteService
  2. if there is slug this will be used for the route

Does this PR introduce a breaking change?

  • Yes
  • No

@SanderElias SanderElias merged commit 1a05af8 into master Jan 21, 2020
@SanderElias SanderElias deleted the sander/handleUnpublishedPosts branch January 21, 2020 12:32
d-koppenhagen pushed a commit to d-koppenhagen/scully that referenced this pull request Jan 25, 2020
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

Successfully merging this pull request may close these issues.

3 participants