summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-02-15 10:38:43 +0800
committerEltrac <hi@guhub.cn>2025-02-15 10:38:43 +0800
commit2be41258b32bba59ef166c7c757ce73027708372 (patch)
tree141e5bb7b52d63184ba372b839a9f80e8c2bd6e1
parentae9b835c95da0d2056814cd6814b79f62ad259ec (diff)
parentbd64ecc4f237dfaea4a61d64cab1d71ad52bbf40 (diff)
Merge branch 'master' of https://github.com/BigCoke233/geek-death-project
-rw-r--r--.pages.yml44
1 files changed, 44 insertions, 0 deletions
diff --git a/.pages.yml b/.pages.yml
new file mode 100644
index 00000000..ad635d54
--- /dev/null
+++ b/.pages.yml
@@ -0,0 +1,44 @@
+media:
+ input: static/media
+ output: /media
+content:
+ - name: posts
+ label: Posts
+ type: collection
+ path: content/posts
+ fields:
+ - name: title
+ label: Title
+ description: 文章标题
+ required: true
+ type: string
+ - name: subtitle
+ label: Subtitle
+ description: 文章副标题
+ required: false
+ type: string
+ - name: description
+ label: 描述
+ required: false
+ type: text
+ - name: date
+ required: true
+ type: date
+ - name: tags
+ required: false
+ list: true
+ type: string
+ - name: category
+ type: string
+ - name: draft
+ type: boolean
+ required: true
+ default: true
+ description: 是否为草稿
+ - name: toc
+ type: boolean
+ description: 是否显示目录
+ default: true
+ - name: body
+ label: Body
+ type: rich-text \ No newline at end of file