CMS Guide - How to Create & Edit Blog Posts
Method 1: Via Decap CMS (Recommended for Non-Technical Users)
Accessing the CMS
- Navigate to https://blog.oriz.in/admin
- Click "Login with GitHub"
- Authorize the Decap CMS app if prompted
- You'll see the CMS dashboard
Creating a New Post
- Click "Blog Posts" in the left sidebar
- Click "New Blog Posts" button
- Fill in the fields:
- Title: Your post title
- Description: A short summary (used in meta tags and previews)
- Publish Date: When the post should appear
- Tags: Add relevant tags (press Enter after each)
- Category: e.g., "Tutorials", "Development", "Personal"
- Draft: Check this to save without publishing
- Body: Write your content in Markdown/MDX
- Click "Publish" or "Save as Draft"
- The CMS commits to GitHub → Cloudflare auto-deploys
Editing an Existing Post
- Click "Blog Posts" in the sidebar
- Click the post you want to edit
- Make changes
- Click "Publish"
Uploading Images
- Use the image widget in the CMS
- Images are saved to
public/images/uploads/ - Reference them in your post as
/images/uploads/filename.jpg
Method 2: Via Git Repository (For Developers)
File Location
All blog posts live in: src/content/blog/
Creating a New Post
- Create a new
.mdxfile insrc/content/blog/ - Filename becomes the URL slug:
my-post.mdx→/blog/my-post - Add frontmatter:
--- title: "Your Post Title" description: "A short description of your post" pubDate: 2026-03-24 tags: ["Tag1", "Tag2"] category: "General" draft: false author: "Chirag Singhal" --- - Write your content below the frontmatter using MDX (Markdown + JSX)
- Commit and push → Cloudflare auto-deploys
MDX Tips
- Use
# Headingfor h1,## Headingfor h2, etc. - Use backtick fences for code blocks with language hints
- Import components:
import MyComponent from '../../components/MyComponent.astro' - Add images:

Post Guidelines
- Always include a description (150-160 chars for SEO)
- Use 3-5 relevant tags
- Choose one category
- Add a heroImage if possible
- Keep titles under 60 characters