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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃挕 RFC: draft
support for Markdown posts
#440
Comments
Analysis
If there's no pressure behind this I'd like to give this a try. |
@ewatch would love your help on this!
Not sure I follow, why wouldn't this work with a |
@FredKSchott
Additionally Jekyll has a hard convention that only markdown files in the |
As a note: |
See here: https://jekyllrb.com/docs/front-matter/
I don't think we're ready to change the filename format just yet. Because we're following file-path routing, the file path matches the final URL so we couldn't force every URL to have a date. |
Okay thanks. 馃憤 |
@FredKSchott |
For what it's worth, many CMS's I've used stick with calling it What about |
|
draft
support for Markdown postsdraft
support for Markdown posts
Hey everyone! This RFC is still accepted, and it has been moved to https://github.com/withastro/rfcs/blob/main/active-rfcs/support-draft-markdown-posts.md In an effort to improve our RFC process, we made some changes to better organize things, which include a dedicated RFC repository. |
FYI: it's moved to https://github.com/withastro/rfcs/blob/main/active-rfcs/0004-support-draft-markdown-posts.md |
What is Missing from Astro Today?
draft
as a top-level primitive for Markdown posts/filesbuildOptions.drafts
as an option to ignore posts/files withdraft: true
Proposed Solution
Implement this to match Jekyll.
As a stretch goal, we could also add the
published: true/false
syntax instead. This is similar, butdraft=true
can still be built if--drafts
is used when you build.published=false
will never make it into your build, no matter what.Help Make it Happen!
The text was updated successfully, but these errors were encountered: