diff --git a/src/assets/og-images/a-draft-preview.jpeg b/src/assets/og-images/a-draft-preview.jpeg new file mode 100644 index 0000000..a0df9ae Binary files /dev/null and b/src/assets/og-images/a-draft-preview.jpeg differ diff --git a/src/posts/2024/2024-07-21-draft.md b/src/posts/2024/2024-07-21-draft.md new file mode 100644 index 0000000..bdc132f --- /dev/null +++ b/src/posts/2024/2024-07-21-draft.md @@ -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 +--- +``` \ No newline at end of file