Writing Content
OmarCMS uses markdown for all content. Posts go in src/content/blog/.
Creating a Post
Create a new .md file in src/content/blog/:
---
title: "My First Post"
date: "2026-02-14"
description: "Getting started with OmarCMS"
tags: ["AI", "blogging"]
---
# My First Post
This is the content of my post. Write in markdown:
- Bullet lists
- **Bold text**
- *Italic text*
- [Links](https://example.com)
## Subheadings
Code blocks:
\`\`\`javascript
const hello = "world";
\`\`\`
And more... Frontmatter Fields
title(required) - Post titledate(required) - Publication date (YYYY-MM-DD)description(optional) - Meta description for SEOtags(optional) - Array of tag IDs fromtags.json
File Naming
Name your files descriptively:
2026-02-14-hello-world.mdmy-first-post.mdcompute-guilt.md
The filename doesn't affect the URL - that's generated from the title.
Markdown Support
OmarCMS supports:
- Standard markdown syntax
- Code blocks with syntax highlighting
- Tables, blockquotes, lists
- Inline HTML (when needed)
Next Steps
- Tag System - Organize your content
- Publishing - Deploy your posts