Remove content
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
parent
da8a080a69
commit
d59a8e91a6
19 changed files with 0 additions and 240 deletions
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
title: Note Title
|
||||
description: Your blog description, which is long text, can be an introduction to the post or a paragraph of the post.
|
||||
duration: 5min
|
||||
date: 2022-12-01
|
||||
---
|
||||
|
||||
Use [Vitesse Them for Astro](https://astro.build/themes/details/vitesse-theme-for-astro/) to start writing your blog posts.
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
title: Note Title
|
||||
description: Your blog description, which is long text, can be an introduction to the post or a paragraph of the post.
|
||||
duration: 5min
|
||||
date: 2018-01-01
|
||||
---
|
||||
|
||||
Use [Vitesse Them for Astro](https://astro.build/themes/details/vitesse-theme-for-astro/) to start writing your blog posts.
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
title: Note Title
|
||||
description: Your blog description, which is long text, can be an introduction to the post or a paragraph of the post.
|
||||
duration: 5min
|
||||
date: 2022-02-01
|
||||
---
|
||||
|
||||
Use [Vitesse Them for Astro](https://astro.build/themes/details/vitesse-theme-for-astro/) to start writing your blog posts.
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
title: Note Title
|
||||
description: Your blog description, which is long text, can be an introduction to the post or a paragraph of the post.
|
||||
duration: 5min
|
||||
date: 2024-03-01
|
||||
---
|
||||
|
||||
Use [Vitesse Them for Astro](https://astro.build/themes/details/vitesse-theme-for-astro/) to start writing your blog posts.
|
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
title: Blog Title
|
||||
description: Your blog description, which is long text, can be an introduction to the post or a paragraph of the post.
|
||||
date: 2024-05-01
|
||||
---
|
||||
|
||||
Use [Vitesse Them for Astro](https://astro.build/themes/details/vitesse-theme-for-astro/) to start writing your blog posts.
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
title: 博客标题
|
||||
description: If you set the lang field to include zh, it will display an identifier.
|
||||
date: 2024-04-01
|
||||
lang: zh
|
||||
---
|
||||
|
||||
Use [Vitesse Them for Astro](https://astro.build/themes/details/vitesse-theme-for-astro/) to start writing your blog posts.
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
title: Blog Title
|
||||
description: A tag field is provided, which can be used to display custom information.
|
||||
date: 2024-03-01
|
||||
tag: Tag Text
|
||||
---
|
||||
|
||||
Use [Vitesse Them for Astro](https://astro.build/themes/details/vitesse-theme-for-astro/) to start writing your blog posts.
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
title: Blog Title
|
||||
description: If you need to link to an external address, you can set the redirect field.
|
||||
date: 2024-02-01
|
||||
redirect: '/'
|
||||
---
|
||||
|
||||
Use [Vitesse Them for Astro](https://astro.build/themes/details/vitesse-theme-for-astro/) to start writing your blog posts.
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
title: Blog Title
|
||||
description: If you want to tell the visitor that there is a video, you can set the video field to true.
|
||||
date: 2024-02-01
|
||||
video: true
|
||||
---
|
||||
|
||||
Use [Vitesse Them for Astro](https://astro.build/themes/details/vitesse-theme-for-astro/) to start writing your blog posts.
|
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
title: Blog Title
|
||||
description: Vitesse theme groups posts by year and displays them sorted by date.
|
||||
date: 2023-08-01
|
||||
---
|
||||
|
||||
Use [Vitesse Them for Astro](https://astro.build/themes/details/vitesse-theme-for-astro/) to start writing your blog posts.
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
title: Blog Title
|
||||
description: You can set a duration to tell the viewer how long it will take to watch it。
|
||||
duration: 20min
|
||||
date: 2023-05-01
|
||||
---
|
||||
|
||||
Use [Vitesse Them for Astro](https://astro.build/themes/details/vitesse-theme-for-astro/) to start writing your blog posts.
|
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
title: Blog Title
|
||||
description: The date and title fields are required.
|
||||
date: 2022-11-01
|
||||
---
|
||||
|
||||
Use [Vitesse Them for Astro](https://astro.build/themes/details/vitesse-theme-for-astro/) to start writing your blog posts.
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
title: Talk Title
|
||||
description: Your blog description, which is long text, can be an introduction to the post or a paragraph of the post.
|
||||
duration: 30min
|
||||
date: 2023-12-01
|
||||
---
|
||||
|
||||
Use [Vitesse Them for Astro](https://astro.build/themes/details/vitesse-theme-for-astro/) to start writing your blog posts.
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
title: Talk Title
|
||||
description: Your blog description, which is long text, can be an introduction to the post or a paragraph of the post.
|
||||
duration: 30min
|
||||
date: 2023-11-01
|
||||
---
|
||||
|
||||
Use [Vitesse Them for Astro](https://astro.build/themes/details/vitesse-theme-for-astro/) to start writing your blog posts.
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
title: Talk Title
|
||||
description: Your blog description, which is long text, can be an introduction to the post or a paragraph of the post.
|
||||
duration: 30min
|
||||
date: 2024-02-01
|
||||
---
|
||||
|
||||
Use [Vitesse Them for Astro](https://astro.build/themes/details/vitesse-theme-for-astro/) to start writing your blog posts.
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
title: Talk Title
|
||||
description: Your blog description, which is long text, can be an introduction to the post or a paragraph of the post.
|
||||
duration: 30min
|
||||
date: 2022-12-01
|
||||
---
|
||||
|
||||
Use [Vitesse Them for Astro](https://astro.build/themes/details/vitesse-theme-for-astro/) to start writing your blog posts.
|
|
@ -1,41 +0,0 @@
|
|||
import { defineCollection, z } from 'astro:content'
|
||||
|
||||
const pages = defineCollection({
|
||||
schema: z.object({
|
||||
title: z.string(),
|
||||
description: z.string().optional(),
|
||||
image: z
|
||||
.object({
|
||||
src: z.string(),
|
||||
alt: z.string(),
|
||||
}).optional(),
|
||||
}),
|
||||
})
|
||||
|
||||
const blog = defineCollection({
|
||||
schema: z.object({
|
||||
title: z.string(),
|
||||
description: z.string().optional(),
|
||||
duration: z.string().optional(),
|
||||
image: z
|
||||
.object({
|
||||
src: z.string(),
|
||||
alt: z.string(),
|
||||
}).optional(),
|
||||
date: z
|
||||
.string()
|
||||
.or(z.date())
|
||||
.transform((val: string | number | Date) => new Date(val).toLocaleDateString('en-US', {
|
||||
year: 'numeric',
|
||||
month: 'short',
|
||||
day: 'numeric',
|
||||
})),
|
||||
draft: z.boolean().default(false).optional(),
|
||||
lang: z.string().default('en-US').optional(),
|
||||
tag: z.string().optional().optional(),
|
||||
redirect: z.string().optional(),
|
||||
video: z.boolean().default(false).optional(),
|
||||
}),
|
||||
})
|
||||
|
||||
export const collections = { pages, blog }
|
|
@ -1,48 +0,0 @@
|
|||
---
|
||||
title: Markdown Style
|
||||
---
|
||||
|
||||
The page style in your `*.md` file.
|
||||
|
||||
## h2
|
||||
|
||||
The main content of your article
|
||||
|
||||
### h3
|
||||
|
||||
The main content of your article
|
||||
|
||||
#### h4
|
||||
|
||||
The main content of your article
|
||||
|
||||
##### h5
|
||||
|
||||
The main content of your article
|
||||
|
||||
###### h6
|
||||
|
||||
The main content of your article
|
||||
|
||||
Table Style:
|
||||
|
||||
| Field | Description |
|
||||
| :----------- | :--------------------------------------------------- |
|
||||
| NAME | Displayed in header and footer. Used in SEO and RSS. |
|
||||
| EMAIL | Displayed in contact section. |
|
||||
| NUM_POSTS | Limit num of posts on home page. |
|
||||
| NUM_WORKS | Limit num of works on home page. |
|
||||
| NUM_PROJECTS | Limit num of projects on home page. |
|
||||
|
||||
Code Snippet:
|
||||
|
||||
```ts
|
||||
export const data = {
|
||||
name: 'Name',
|
||||
value: 'Value'
|
||||
}
|
||||
|
||||
export function getName() {
|
||||
return data.name
|
||||
}
|
||||
```
|
|
@ -1,26 +0,0 @@
|
|||
---
|
||||
title: Posts Props
|
||||
---
|
||||
|
||||
Props in blog:
|
||||
|
||||
| Field | Req | Description |
|
||||
| :---------- | :--- | :----------------------------------------- |
|
||||
| title | Yes | Title of the article. |
|
||||
| description | Yes | Description of the article. |
|
||||
| image | No | Hero image of the article. |
|
||||
| date | No | The publication date of the article. |
|
||||
| duration | No | The estimated viewing time of the article. |
|
||||
| lang | No | Article language, default en-US. |
|
||||
| redirect | No | The redirected address of the article. |
|
||||
| draft | No | The current article is in draft status. |
|
||||
| tag | No | Custom tag text for the article. |
|
||||
| video | No | The article contains a video. |
|
||||
|
||||
Props in pages:
|
||||
|
||||
| Field | Req | Description |
|
||||
| :---------- | :--- | :--------------------------------------------------- |
|
||||
| title | Yes | Title of the article. |
|
||||
| description | Yes | Description of the article. |
|
||||
| image | No | Hero image of the article. |
|
Loading…
Reference in a new issue