Skip to content

Commit

Permalink
draft example post
Browse files Browse the repository at this point in the history
  • Loading branch information
madrilene committed Jul 21, 2024
1 parent 8ad3372 commit 9cbb7b7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Binary file added src/assets/og-images/a-draft-preview.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions src/posts/2024/2024-07-21-draft.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
draft: true
title: 'A draft'
description: "This is a draft. It will not be included in the final build."
date: 2024-07-21
---

In development (`npm run start`), you can preview posts that won't be published in production (`npm run build`) by setting `draft: true` in the front matter.

```yaml
---
draft: true
---
```

0 comments on commit 9cbb7b7

Please sign in to comment.