This repository contains content for the Botsmann blog. Each post is stored as an MDX file in its own directory under posts/.
Each post should follow this structure:
- A directory under
posts/with a URL-friendly name - An
index.mdxfile containing the post content and frontmatter - Any media files (images, etc.) stored in the same directory or a
media/subdirectory
Each MDX file should begin with frontmatter in this format:
---
title: "Post Title"
date: "YYYY-MM-DD"
author: "Author Name"
excerpt: "Brief description of the post"
published: true # Set to true to publish at next 9am window
tags: ["tag1", "tag2"] # Optional
featuredImage: "./featured.jpg" # Optional
---
- Create a new directory under
posts/ - Add your content as
index.mdxwith proper frontmatter - Add any images or media to the same directory
- Set
published: truewhen ready to publish - The post will go live at the next 9am publishing window
The blog supports various rich media components:
<YouTube id="video-id" /><Tweet id="tweet-id" /><Callout type="info">
Important information goes here.
</Callout>Types: info, warning, success
posts/
├── welcome-post/
│ ├── index.mdx
│ └── featured.jpg
└── test-post/
├── index.mdx
└── media/
└── example.png