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-1https://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
---
| 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: "Research Collection";
description: "How to add entries to research.";
date: "2024-03-21";
draft: false;
tags:
- tutorial
---
## Working with the research collection
<!-- content -->