27 lines
1.2 KiB
YAML
27 lines
1.2 KiB
YAML
backend:
|
|
name: git-gateway
|
|
branch: main
|
|
|
|
publish_mode: editorial_workflow
|
|
|
|
media_folder: "static/images/uploads" # Media files will be stored in the repo under static/images/uploads
|
|
public_folder: "/images/uploads"
|
|
|
|
collections:
|
|
- name: "SuperComputing" # Used in routes, e.g., /admin/collections/blog
|
|
label: "SuperComputing" # Used in the UI
|
|
folder: "pages/supercomputing" # The path to the folder where the documents are stored
|
|
create: true # Allow users to create new documents in this collection
|
|
slug: "{{year}}-{{month}}-{{day}}-{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md
|
|
fields: # The fields for each document, usually in front matter
|
|
- {
|
|
label: "Layout",
|
|
name: "layout",
|
|
widget: "hidden",
|
|
default: "blog",
|
|
}
|
|
- { label: "Title", name: "title", widget: "string" }
|
|
- { label: "Description", name: "description", widget: "string" }
|
|
- { label: "Publish Date", name: "date", widget: "datetime" }
|
|
- { label: "Author", name: "author", widget: "string" }
|
|
- { label: "Body", name: "body", widget: "markdown" }
|