Authors

  • avatar
    Name
    John Doe
    Details
    Author
  • 2 min read

Tags

Types of SEO: What Does Your Site Need to Succeed?

Fast and Full-featured

Understanding the types of SEO out there can help you choose the right services to get your website in the spotlight. It also helps you to fix issues yourself and then hand the rest off to a specialist.

Working with the blog collection:

The blog collection is found in src/content/blog.

πŸ“ /src/content/blog
└── πŸ“ post-1
      └── πŸ“„ index.md
└── πŸ“ post-2
      └── πŸ“„ index.mdx

In the above example, two blog posts will be generated with the folder name representing the id.

  • https://example.com/blog/post-1
  • https://example.com/blog/post-2

Provide metadata

Metadata is required for each post.

---
title: "Blog Collection";
description: "How to add posts to the blog.";
date: "2024-03-21";
draft: false;
tags:
  - tutorial
---
FieldReqTypeRemarks
titleYesstringTitle of the content. Used in SEO and RSS.
descriptionYesstringDescription of the content. Used in SEO and RSS.
dateYesstringMust be a valid date string (able to be parsed).
draftNobooleanIf draft: true, content will not be published.
tagsNostring arrayTags to organize content

All that’s left to do is write the content under the metadata.

---
title: "Blog Collection";
description: "How to add posts to the blog.";
date: "2024-03-21";
draft: false;
tags:
  - tutorial
---

## Working with the blog collection
<!-- content -->

Related Posts