From 6c59f7d90ddb0533ad4a5b806f5a36224b3bf3ab Mon Sep 17 00:00:00 2001 From: Jannik Menzel Date: Thu, 22 May 2025 15:46:56 +0200 Subject: [PATCH] edited decap config --- static/admin/config.yml | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/static/admin/config.yml b/static/admin/config.yml index 2cae6ba..19110e6 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -16,6 +16,8 @@ collections: - name: "about" label: "About" file: "content/about.md" + editor: + preview: false fields: - { label: "Title", name: "title", widget: "string" } - { label: "Body", name: "body", widget: "markdown" } @@ -23,6 +25,8 @@ collections: - name: "studium" label: "Studium" file: "content/studium.md" + editor: + preview: false fields: - { label: "Title", name: "title", widget: "string" } - { label: "Body", name: "body", widget: "markdown" } @@ -30,6 +34,8 @@ collections: - name: "sitzung-und-protokolle" label: "Sitzung & Protokolle" file: "content/sitzung-und-protokolle.md" + editor: + preview: false fields: - { label: "Title", name: "title", widget: "string" } - { label: "Body", name: "body", widget: "markdown" } @@ -37,6 +43,8 @@ collections: - name: "kontakt" label: "Kontakt" file: "content/kontakt.md" + editor: + preview: false fields: - { label: "Title", name: "title", widget: "string" } - { label: "Body", name: "body", widget: "markdown" } @@ -44,6 +52,8 @@ collections: - name: "barrierefreiheit" label: "Barrierefreiheit" file: "content/barrierefreiheit.md" + editor: + preview: false fields: - { label: "Title", name: "title", widget: "string" } - { label: "Body", name: "body", widget: "markdown" } @@ -51,6 +61,8 @@ collections: - name: "datenschutz" label: "Datenschutz" file: "content/datenschutz.md" + editor: + preview: false fields: - { label: "Title", name: "title", widget: "string" } - { label: "Body", name: "body", widget: "markdown" } @@ -58,24 +70,30 @@ collections: - name: "impressum" label: "Impressum" file: "content/impressum.md" + editor: + preview: false fields: - { label: "Title", name: "title", widget: "string" } - { label: "Body", name: "body", widget: "markdown" } - name: "content_about" label: "Content / About" - folder: "content/about" + folder: "content/about/" create: false slug: "{{slug}}" + editor: + preview: false fields: - { label: "Title", name: "title", widget: "string" } - { label: "Body", name: "body", widget: "markdown" } - name: "content_studium" label: "Content / Studium" - folder: "content/studium" + folder: "content/studium/" create: false slug: "{{slug}}" + editor: + preview: false fields: - { label: "Title", name: "title", widget: "string" } - { label: "Body", name: "body", widget: "markdown" } \ No newline at end of file