sync: update content from obsidian vault

This commit is contained in:
Obsidian Sync 2026-02-20 05:42:47 +05:30
parent 84749c8d9b
commit b82752c120
12 changed files with 233 additions and 208 deletions

View file

@ -1,11 +1,12 @@
---
title: "Projects Collection"
description: "How to add projects to your portfolio."
date: "2024-03-20"
title: Projects Collection
description: How to add projects to your portfolio.
date: '2024-03-20'
tags:
- tutorial
---
---
## Working with the `projects` collection
@ -15,9 +16,9 @@ The `projects` collections is found in `src/content/projects`.
```
📁 /src/content/projects
└── 📁 project-1
└── 📄 index.md
└── 📄 index.md
└── 📁 project-2
└── 📄 index.mdx
└── 📄 index.mdx
```
In the above example, two project posts will be generated with the folder name representing the id.
@ -38,14 +39,14 @@ draft: false;
---
```
| Field | Req | Type | Remarks |
| 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. |
| demoURL | No | string | Link to live project demo, if available. |
| repoURL | No | string | Link to project repo, if available. |
| 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. |
| demoURL | No | string | Link to live project demo, if available. |
| repoURL | No | string | Link to project repo, if available. |
---
@ -62,3 +63,4 @@ draft: false;
## Astro Micro 🔬
<!-- content -->
```