From d59a8e91a6d018dc281f935dafa2efe7bc068cce Mon Sep 17 00:00:00 2001 From: baalajimaestro Date: Sat, 13 Jul 2024 00:26:24 +0530 Subject: [PATCH] Remove content Signed-off-by: baalajimaestro --- src/content/blog/notes/post-1.md | 8 ------ src/content/blog/notes/post-2.md | 8 ------ src/content/blog/notes/post-3.md | 8 ------ src/content/blog/notes/post-4.md | 8 ------ src/content/blog/post-1.md | 7 ----- src/content/blog/post-2.md | 8 ------ src/content/blog/post-3.md | 8 ------ src/content/blog/post-4.md | 8 ------ src/content/blog/post-5.md | 8 ------ src/content/blog/post-6.md | 7 ----- src/content/blog/post-7.md | 8 ------ src/content/blog/post-8.md | 7 ----- src/content/blog/talks/post-1.md | 8 ------ src/content/blog/talks/post-2.md | 8 ------ src/content/blog/talks/post-3.md | 8 ------ src/content/blog/talks/post-4.md | 8 ------ src/content/config.ts | 41 --------------------------- src/content/pages/md-style.md | 48 -------------------------------- src/content/pages/posts-props.md | 26 ----------------- 19 files changed, 240 deletions(-) delete mode 100644 src/content/blog/notes/post-1.md delete mode 100644 src/content/blog/notes/post-2.md delete mode 100644 src/content/blog/notes/post-3.md delete mode 100644 src/content/blog/notes/post-4.md delete mode 100644 src/content/blog/post-1.md delete mode 100644 src/content/blog/post-2.md delete mode 100644 src/content/blog/post-3.md delete mode 100644 src/content/blog/post-4.md delete mode 100644 src/content/blog/post-5.md delete mode 100644 src/content/blog/post-6.md delete mode 100644 src/content/blog/post-7.md delete mode 100644 src/content/blog/post-8.md delete mode 100644 src/content/blog/talks/post-1.md delete mode 100644 src/content/blog/talks/post-2.md delete mode 100644 src/content/blog/talks/post-3.md delete mode 100644 src/content/blog/talks/post-4.md delete mode 100644 src/content/config.ts delete mode 100644 src/content/pages/md-style.md delete mode 100644 src/content/pages/posts-props.md diff --git a/src/content/blog/notes/post-1.md b/src/content/blog/notes/post-1.md deleted file mode 100644 index 2c00604..0000000 --- a/src/content/blog/notes/post-1.md +++ /dev/null @@ -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. diff --git a/src/content/blog/notes/post-2.md b/src/content/blog/notes/post-2.md deleted file mode 100644 index a3bef90..0000000 --- a/src/content/blog/notes/post-2.md +++ /dev/null @@ -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. diff --git a/src/content/blog/notes/post-3.md b/src/content/blog/notes/post-3.md deleted file mode 100644 index 31b9e98..0000000 --- a/src/content/blog/notes/post-3.md +++ /dev/null @@ -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. diff --git a/src/content/blog/notes/post-4.md b/src/content/blog/notes/post-4.md deleted file mode 100644 index 928cbca..0000000 --- a/src/content/blog/notes/post-4.md +++ /dev/null @@ -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. diff --git a/src/content/blog/post-1.md b/src/content/blog/post-1.md deleted file mode 100644 index 1e8a78b..0000000 --- a/src/content/blog/post-1.md +++ /dev/null @@ -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. diff --git a/src/content/blog/post-2.md b/src/content/blog/post-2.md deleted file mode 100644 index 4b6c229..0000000 --- a/src/content/blog/post-2.md +++ /dev/null @@ -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. diff --git a/src/content/blog/post-3.md b/src/content/blog/post-3.md deleted file mode 100644 index a106f48..0000000 --- a/src/content/blog/post-3.md +++ /dev/null @@ -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. diff --git a/src/content/blog/post-4.md b/src/content/blog/post-4.md deleted file mode 100644 index 42157ea..0000000 --- a/src/content/blog/post-4.md +++ /dev/null @@ -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. diff --git a/src/content/blog/post-5.md b/src/content/blog/post-5.md deleted file mode 100644 index 55a093e..0000000 --- a/src/content/blog/post-5.md +++ /dev/null @@ -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. diff --git a/src/content/blog/post-6.md b/src/content/blog/post-6.md deleted file mode 100644 index 8f49ecb..0000000 --- a/src/content/blog/post-6.md +++ /dev/null @@ -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. diff --git a/src/content/blog/post-7.md b/src/content/blog/post-7.md deleted file mode 100644 index 1a0bc7f..0000000 --- a/src/content/blog/post-7.md +++ /dev/null @@ -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. diff --git a/src/content/blog/post-8.md b/src/content/blog/post-8.md deleted file mode 100644 index c969153..0000000 --- a/src/content/blog/post-8.md +++ /dev/null @@ -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. diff --git a/src/content/blog/talks/post-1.md b/src/content/blog/talks/post-1.md deleted file mode 100644 index 1e92a32..0000000 --- a/src/content/blog/talks/post-1.md +++ /dev/null @@ -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. diff --git a/src/content/blog/talks/post-2.md b/src/content/blog/talks/post-2.md deleted file mode 100644 index 951d652..0000000 --- a/src/content/blog/talks/post-2.md +++ /dev/null @@ -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. diff --git a/src/content/blog/talks/post-3.md b/src/content/blog/talks/post-3.md deleted file mode 100644 index 25447a5..0000000 --- a/src/content/blog/talks/post-3.md +++ /dev/null @@ -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. diff --git a/src/content/blog/talks/post-4.md b/src/content/blog/talks/post-4.md deleted file mode 100644 index 7e874b9..0000000 --- a/src/content/blog/talks/post-4.md +++ /dev/null @@ -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. diff --git a/src/content/config.ts b/src/content/config.ts deleted file mode 100644 index 30ce3b4..0000000 --- a/src/content/config.ts +++ /dev/null @@ -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 } diff --git a/src/content/pages/md-style.md b/src/content/pages/md-style.md deleted file mode 100644 index 2cc6ad2..0000000 --- a/src/content/pages/md-style.md +++ /dev/null @@ -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 -} -``` diff --git a/src/content/pages/posts-props.md b/src/content/pages/posts-props.md deleted file mode 100644 index 452e4b1..0000000 --- a/src/content/pages/posts-props.md +++ /dev/null @@ -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. |