From d8b0af9a94de9d71692eaba41a27ce803a9679db Mon Sep 17 00:00:00 2001 From: michivonah Date: Sun, 6 Apr 2025 11:06:59 +0200 Subject: [PATCH] add content type --- .pages.yml | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/.pages.yml b/.pages.yml index 9a153d0..84d7102 100644 --- a/.pages.yml +++ b/.pages.yml @@ -2,6 +2,8 @@ media: input: static/assets output: assets +settings: false + content: - name: general label: General @@ -78,7 +80,6 @@ content: type: string - - name: socialmedia label: Social Media type: file @@ -130,4 +131,30 @@ content: label: Enabled by default description: Determines if the tag is shown by default type: boolean - default: True \ No newline at end of file + default: True + + - name: content + label: Content + type: collection + path: content + icon: file-text + view: + fields: + - title + fields: + - name: title + label: Title + type: string + required: true + - name: slug + label: Slug + description: The slug of the current section (used for the navigation, etc.) + type: string + required: true + - name: body + label: Content + type: rich-text + options: + format: markdown + media: false + required: false \ No newline at end of file