Drafts Directory

This directory is for draft blog posts that are not ready for publication. Posts in this directory:

  1. Will be tracked in git (so you can version control your drafts)
  2. Won’t be published to the site by setting draft: true in the front matter
  3. Can be previewed locally by running hugo server -D

To create a new draft post, create a new .md file in this directory using this format:

---
title: "Your Draft Title"
date: YYYY-MM-DD
description: "Brief description of your post"
tags: ["tag1", "tag2"]
draft: true  # This prevents the post from being published
---

Your content here...

When ready to publish:

  1. Set draft: false in the front matter
  2. Move the file to the content/posts/ directory