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

Don't create routes for drafts #53

Merged
merged 2 commits into from
Sep 16, 2024
Merged

Don't create routes for drafts #53

merged 2 commits into from
Sep 16, 2024

Conversation

zephraph
Copy link
Owner

@zephraph zephraph commented Sep 16, 2024

When publishing, if a note has draft: true in the frontmatter I want to ensure a permalink route isn't created for it. When a note is in this state, it really doesn't need a human readable link because the title/tags are likely to change.

Copy link

cloudflare-workers-and-pages bot commented Sep 16, 2024

Deploying just-be-dev with  Cloudflare Pages  Cloudflare Pages

Latest commit: 093f5af
Status: ✅  Deploy successful!
Preview URL: https://60b36dd0.just-be-dev.pages.dev
Branch Preview URL: https://add-draft-support.just-be-dev.pages.dev

View logs

@zephraph zephraph merged commit 28ee58e into main Sep 16, 2024
2 checks passed
@zephraph zephraph deleted the Add-draft-support branch September 16, 2024 15:05
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.

1 participant