From 9592cfaffe70f0e00ee6bf9302981834fb608582 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BA=BF=E7=B2=92=E4=BD=93XianlitiCN?= Date: Tue, 3 Feb 2026 14:00:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9Decap=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/admin/config.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/static/admin/config.yml b/static/admin/config.yml index 96958e5..07e1694 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -11,11 +11,12 @@ public_folder: "/uploads" collections: - name: "blog" - label: "Blog" + label: "文章" folder: "content/blog" create: true slug: "{{slug}}" fields: - - { label: "Title", name: "title", widget: "string" } - - { label: "Date", name: "date", widget: "datetime" } + - { label: "标题", name: "title", widget: "string" } + - { label: "日期", name: "date", widget: "datetime" } + - { label: "作者", name: "author", widget: "string", default: "佚名" } - { label: "Body", name: "body", widget: "markdown" }