GitHub Draft Pages #22079
-
I noticed that some repositories have draft pages available at A Google search reveals that there are over 6000 currently published and indexed. I found this post which mentions that pages from non-default branches create drafts. However, I can’t figure out how to create a page draft of my own. How would I create a GitHub pages draft? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @ginkoid - Welcome to the community! That is a feature of Jekyll, it lets you write draft posts, and allows you to easily preview how they will look prior to publishing. To start a draft, create a folder called For more information about Jekyll and Pages. Check out our documentation. |
Beta Was this translation helpful? Give feedback.
Hi @ginkoid - Welcome to the community! That is a feature of Jekyll, it lets you write draft posts, and allows you to easily preview how they will look prior to publishing.
To start a draft, create a folder called
_drafts
in your site’s source directory (e.g., alongside_posts
), and add a new markdown file to it. To preview your new post, run thejekyll serve
command with the--drafts
flag.For more information about Jekyll and Pages. Check out our documentation.