diff --git a/static/admin/config.yml b/static/admin/config.yml index 8b49b55..7add161 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -10,12 +10,14 @@ media_folder: "static/images" public_folder: "/images" collections: - - name: "hauptseiten" - label: "Hauptseiten" + - name: "pages" + label: "Seiten" + label_singular: "Seite" folder: "content" create: true nested: depth: 100 + slug: "{{slug}}" meta: path: widget: hidden @@ -25,6 +27,8 @@ collections: default: "{{nested.slug}}" extension: md format: frontmatter + editor: + preview: false fields: - { label: "Title", name: "title", widget: "string" } - - { label: "Body", name: "body", widget: "markdown" } + - { label: "Body", name: "body", widget: "markdown" } \ No newline at end of file