Skip to main content

Edit and Delete Blog Post

A guide to update, edit, and delete blog articles in Docusar.

Edit Blog Post​

1. Open the Blog File​

Go to:

blog/

Find your post, for example 2026-02-28-first-post.md, and open it in VS Code.

2. Edit Frontmatter and Content​

File structure:

---
slug: first-blog-post
title: First Blog Post
description: Your SEO description
authors: creativitas
tags: [docusaurus, tutorial]
image: img/docusaurus.png
---

Your markdown content here...

What you can edit:

  • title: Change the title shown on the blog list
  • description: Update the SEO description
  • tags: Add or remove tags
  • authors: Change the author ID (must exist in authors.yml)
  • Content below ---: Edit markdown, add sections, images, or code blocks

Do not change slug after publishing unless you want to break the old URL. If you change the slug, the old link will return a 404.

3. Save and Check​

Save (Ctrl+S) and preview at http://localhost:3000/blog - changes hot-reload automatically.

Delete Blog Post​

1. Find the file in the blog/ folder​

Example: blog/2026-02-28-old-post.md

2. Delete the file​

Right-click → Delete in VS Code or File Explorer.

3. Verify​

Run npm run start → Go to /blog → The post should be gone. The old URL will now return a 404 (expected).

Tips:

  • To keep a post as a draft, move the file outside the blog/ folder or rename it to .bak
  • To update the publish date and bump it to the top, rename the file date: 2026-02-28-...md → 2026-06-15-...md but keep the same slug to preserve the URL