.
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 41s

This commit is contained in:
2025-06-13 14:46:33 +02:00
parent 0b6665745d
commit 3214bd2307

View File

@@ -9,7 +9,6 @@ media_folder: "static/images/uploads" # Media files will be stored here
public_folder: "/images/uploads" # The src attribute for uploaded media public_folder: "/images/uploads" # The src attribute for uploaded media
display_url: https://benno-lorenz.com display_url: https://benno-lorenz.com
collections: collections:
- name: "blogposts" # Used in routes, e.g., /admin/collections/blog - name: "blogposts" # Used in routes, e.g., /admin/collections/blog
label: "Blog Posts" # Used in the UI label: "Blog Posts" # Used in the UI
@@ -24,16 +23,32 @@ collections:
fields: fields:
- { label: "Title", name: "title", widget: "string" } - { label: "Title", name: "title", widget: "string" }
- { label: "Summary", name: "summary", widget: "string", required: false } - { label: "Summary", name: "summary", widget: "string", required: false }
- { label: "Description", name: "description", widget: "string", required: false } - {
label: "Description",
name: "description",
widget: "string",
required: false,
}
- { label: "Date", name: "date", widget: "datetime" } - { label: "Date", name: "date", widget: "datetime" }
- { label: "Draft", name: "draft", widget: "boolean", default: true } - { label: "Draft", name: "draft", widget: "boolean", default: true }
- { label: "Cover Style", name: "heroStyle", widget: "select", options: ["basic", "big", "background", "thumbAndBackground"], default: "default" } - {
- { label: "Cover Image", name: "image", widget: "image", required : false } label: "Cover Style",
name: "heroStyle",
widget: "select",
options: ["basic", "big", "background", "thumbAndBackground"],
default: "default",
}
- {
label: "Cover Image",
name: "image",
widget: "image",
required: false,
}
- label: "images" - label: "images"
name: "images" name: "images"
widget: "image" widget: "image"
required: false required: false
media_folder: "img" media_folder: "."
choose_url: false choose_url: false
media_library: media_library:
config: config: