2 min read

Research Collection

Table of Contents

Working with the research collection:

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

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

In the above example, two research entries will be generated with the folder name representing the id.

  • https://example.com/research/entry-1
  • https://example.com/research/entry-2

Provide metadata

Metadata is required for each entry.

---
title: "Research Collection";
description: "How to add entries to research.";
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: "Research Collection";
description: "How to add entries to research.";
date: "2024-03-21";
draft: false;
tags:
  - tutorial
---

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