Blog Posts
This directory contains all blog posts in Markdown format.
Creating a New Blog Post
- Create a new
.mdfile in this directory (e.g.,my-new-post.md) - Add frontmatter at the top of the file:
---
title: Your Post Title
publishedAt: 2024-01-15T00:00:00.000Z
excerpt: A brief description of your post
author:
name: Author Name
image: /path/to/author-image.jpg # Optional
mainImage:
url: /path/to/main-image.jpg
alt: Image description
categories:
- title: Category Name
slug: category-slug
isFeatured: false # Set to true to feature on homepage
---
- Write your content below the frontmatter using Markdown
Frontmatter Fields
title(required): The post titlepublishedAt(required): ISO 8601 date stringexcerpt(required): Brief description for listingsauthor(optional): Author informationname: Author's nameimage: Path to author image (relative to/public)
mainImage(optional): Main featured imageurl: Path to image (relative to/public)alt: Alt text for the image
categories(optional): Array of category objectstitle: Category display nameslug: URL-friendly category identifier
isFeatured(optional): Boolean to feature on homepage
Markdown Support
The blog supports standard Markdown plus GitHub Flavored Markdown (GFM) features:
- Headings, paragraphs, lists
- Links, images
- Code blocks (with syntax highlighting)
- Blockquotes
- Tables (GFM)
- Strikethrough (GFM)
Example Post
See example-post.md for a complete example.