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
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
- Navigate to the
project/src/content/blog/
directory - Create a new file with a
.md
extension - 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 postexcerpt
: A brief summary (1-2 sentences)date
: Publication date in YYYY-MM-DD formatcategory
: One of the existing categoriesreadTime
: Estimated reading timeauthor
: Author’s nameimage
: URL to the featured imagetags
: Array of relevant tags
Step 3: Write Your Content
- Use Markdown syntax for formatting
- Start with a main heading (#)
- Use subheadings (##, ###) for sections
- Include images using Markdown syntax
- 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
- Use high-quality images
- Recommended image size: 1260x750 pixels
- Host images on a reliable service (e.g., Pexels, Unsplash)
- Use the image URL in the frontmatter
Step 5: Preview and Publish
- Run the development server (
npm run dev
) - Visit
/blog
to see your post - Check the formatting and layout
- Verify all links and images work
Best Practices
-
Content Structure
- Use clear headings
- Keep paragraphs short
- Include relevant images
- Add internal/external links
-
SEO Considerations
- Use descriptive titles
- Include relevant keywords
- Write meaningful excerpts
- Add appropriate tags
-
Formatting
- Use consistent heading levels
- Format code blocks properly
- Use lists for better readability
- Include proper spacing
-
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:
- Check the existing blog posts for examples
- Review the markdown documentation
- Contact the admin team for support
Remember to maintain consistency with existing posts and follow the established format for the best results.
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.