merge in new changes
This commit is contained in:
4
src/content/categories/books.md
Normal file
4
src/content/categories/books.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: '二愣的小书屋 🔖'
|
||||
description: '生活总是这样,不能让人处处都满意但我们还要热情地活下去'
|
||||
---
|
||||
4
src/content/categories/golang.md
Normal file
4
src/content/categories/golang.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: 'Golang 🚀'
|
||||
description: 'Go 语言的词法分析与语法分析及折腾下 Go 编译原理吗'
|
||||
---
|
||||
4
src/content/categories/kubernetes.md
Normal file
4
src/content/categories/kubernetes.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: 'kubernetes 💩'
|
||||
description: 'Kubernetes 是一个开源系统,用于自动化部署、扩展和管理容器化应用程序。'
|
||||
---
|
||||
4
src/content/categories/laravel.md
Normal file
4
src/content/categories/laravel.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: 'Laravel 🐛'
|
||||
description: '最优雅的 PHP 框架'
|
||||
---
|
||||
4
src/content/categories/life.md
Normal file
4
src/content/categories/life.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: '生活 💃'
|
||||
description: '房贷要还的,水电费要交的,小孩学费也贵的,钱肯定要不够的呀。所以工作不敢扔,我大部分的快乐,都是来自于生活的夹缝。'
|
||||
---
|
||||
4
src/content/categories/mysql.md
Normal file
4
src/content/categories/mysql.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: 'MySQL'
|
||||
description: 'MySQL is an open-source relational database management system (RDBMS).'
|
||||
---
|
||||
4
src/content/categories/nginx.md
Normal file
4
src/content/categories/nginx.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: 'Nginx 🐕🦺'
|
||||
description: '高性能的 HTTP 和反向代理 Web 服务器,奈何反向代理的 PHP-FMP 服务太慢。'
|
||||
---
|
||||
4
src/content/categories/php.md
Normal file
4
src/content/categories/php.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: 'PHP 🐘'
|
||||
description: 'PHP is a popular general-purpose scripting language that is especially suited to web development.'
|
||||
---
|
||||
4
src/content/categories/tool.md
Normal file
4
src/content/categories/tool.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: 'Tool 🪜'
|
||||
description: '停止折腾就老了吧'
|
||||
---
|
||||
4
src/content/categories/whatis.md
Normal file
4
src/content/categories/whatis.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: 'What Is?'
|
||||
description: '什么是快乐星球,什么是快乐星球,什么是快乐星球'
|
||||
---
|
||||
12
src/content/config.ts
Normal file
12
src/content/config.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { defineCollection, z } from 'astro:content';
|
||||
|
||||
const categoryCollection = defineCollection({
|
||||
type: 'content',
|
||||
schema: () =>
|
||||
z.object({
|
||||
title: z.string(),
|
||||
description: z.string(),
|
||||
}),
|
||||
});
|
||||
|
||||
export const collections = { categories: categoryCollection };
|
||||
Reference in New Issue
Block a user