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 title
  • date (required) - Publication date (YYYY-MM-DD)
  • description (optional) - Meta description for SEO
  • tags (optional) - Array of tag IDs from tags.json

File Naming

Name your files descriptively:

  • 2026-02-14-hello-world.md
  • my-first-post.md
  • compute-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