One minute
Blog Drafts
This folder contains draft blog posts that are not ready for publication.
How to use:
- Create drafts: Place your draft blog posts in this folder
- Work on drafts: Edit and refine your posts while they remain private
- Publish: When ready, move your post from
/content/posts/drafts/
to/content/posts/
Important Notes:
- This entire
drafts
folder is ignored by Git (see.gitignore
) - Drafts will not be committed to GitHub
- Drafts will not be built by Hugo (buildDrafts = false in config.toml)
- Only move posts out of drafts when you’re ready to publish them
Draft Template:
When creating a new draft, consider using this frontmatter template:
|
|
The draft: true
frontmatter ensures Hugo treats it as a draft even if moved accidentally.
153 Words
0000-12-31 16:07 -0752