Blog Drafts

This folder contains draft blog posts that are not ready for publication.

How to use:

  1. Create drafts: Place your draft blog posts in this folder
  2. Work on drafts: Edit and refine your posts while they remain private
  3. 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:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
---
title: "Your Post Title"
date: 2024-01-01T00:00:00Z
draft: true
tags: ["tag1", "tag2"]
categories: ["category"]
description: "Brief description of your post"
---

Your content here...

The draft: true frontmatter ensures Hugo treats it as a draft even if moved accidentally.