•
2 min read

Blog Collection

Table of Contents

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
---
Field Req Type Remarks
title Yes string Title of the content. Used in SEO and RSS.
description Yes string Description of the content. Used in SEO and RSS.
date Yes string Must be a valid date string (able to be parsed).
draft No boolean If draft: true, content will not be published.
tags No string array Tags 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 -->