Guides 5 min read

How to Add New Blog Posts: A Step-by-Step Guide

By Admin Team
How to Add New Blog Posts: A Step-by-Step Guide

How to Add New Blog Posts: A Step-by-Step Guide

This guide will walk you through the process of creating and publishing new blog posts on our platform.

Step 1: Create a New Markdown File

  1. Navigate to the project/src/content/blog/ directory
  2. Create a new file with a .md extension
  3. Use a descriptive filename (e.g., my-new-post.md)

Step 2: Add Frontmatter

At the top of your file, add the following frontmatter (between --- markers):

---
title: "Your Post Title"
excerpt: "A brief description of your post"
date: "YYYY-MM-DD"
category: "Your Category"
readTime: "X min read"
author: "Author Name"
image: "Image URL"
tags: ["tag1", "tag2", "tag3"]
---

Required fields:

  • title: The title of your blog post
  • excerpt: A brief summary (1-2 sentences)
  • date: Publication date in YYYY-MM-DD format
  • category: One of the existing categories
  • readTime: Estimated reading time
  • author: Author’s name
  • image: URL to the featured image
  • tags: Array of relevant tags

Step 3: Write Your Content

  1. Use Markdown syntax for formatting
  2. Start with a main heading (#)
  3. Use subheadings (##, ###) for sections
  4. Include images using Markdown syntax
  5. Format lists and code blocks appropriately

Example structure:

# Main Title

## Introduction
Your introduction text...

## Main Section
Content for this section...

### Subsection
More detailed content...

## Conclusion
Wrap up your post...

Step 4: Add Images

  1. Use high-quality images
  2. Recommended image size: 1260x750 pixels
  3. Host images on a reliable service (e.g., Pexels, Unsplash)
  4. Use the image URL in the frontmatter

Step 5: Preview and Publish

  1. Run the development server (npm run dev)
  2. Visit /blog to see your post
  3. Check the formatting and layout
  4. Verify all links and images work

Best Practices

  1. Content Structure

    • Use clear headings
    • Keep paragraphs short
    • Include relevant images
    • Add internal/external links
  2. SEO Considerations

    • Use descriptive titles
    • Include relevant keywords
    • Write meaningful excerpts
    • Add appropriate tags
  3. Formatting

    • Use consistent heading levels
    • Format code blocks properly
    • Use lists for better readability
    • Include proper spacing
  4. Images

    • Optimize image sizes
    • Use descriptive alt text
    • Maintain consistent aspect ratios
    • Choose relevant visuals

Categories

Available categories:

  • Patents
  • Trademarks
  • Copyright
  • Trade Secrets
  • IP Licensing
  • Guides

Need Help?

If you need assistance:

  1. Check the existing blog posts for examples
  2. Review the markdown documentation
  3. Contact the admin team for support

Remember to maintain consistency with existing posts and follow the established format for the best results.

Share this article

Let's Protect Your Intellectual Property

Contact us today to schedule a consultation and learn how we can help protect your innovations, brands, and creative works.

+91 95272 55155
info@secufur.com
Rizvi Palace, Santosh Nagar, Bandra West, Mumbai, Maharashtra 400050
WhatsApp