Drafts Directory
This directory holds unpublished blog posts and work-in-progress articles.
Purpose
- Work in Progress: Posts that are not yet complete or ready for publication
- Draft Ideas: Post ideas and outlines being developed
- Reference Material: Content snippets to be incorporated into future posts
Workflow
When a draft is ready to be published:
- Move the file from
content/drafts/tocontent/post/ - Ensure the file has complete frontmatter:
--- title: "Your Post Title" date: "YYYY-MM-DD" tags: - tag1 - tag2 categories: - blog - category author: jtorrex --- - Add your content
- Commit and push to deploy
Notes
- Draft posts are not published by Hugo (they’re outside the
content/post/directory) - Use meaningful filenames:
YYYY-MM-DD-slug.mdfor consistency - Add a brief comment at the top of the file describing what needs to be completed