Skip to content

Commit

Permalink
updated config
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSeccubus committed Nov 1, 2023
1 parent 1773075 commit a43e3ad
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions admin/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,3 @@ media_folder: /images
public_folder: /uploads

collections: # A list of collections the CMS should be able to edit
- name: "post" # Used in routes, ie.: /admin/collections/:slug/edit
label: "Post" # Used in the UI, ie.: "New Post"
folder: "_posts" # The path to the folder where the documents are stored
sort: "date:desc" # Default is title:asc
create: true # Allow users to create new documents in this collection
# slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
fields: # The fields each document in this collection have
- {label: "Layout", name: "layout", widget: "hidden", default: "post"}
- {label: "Title", name: "title", widget: "string", tagname: "h1"}
- {label: "Body", name: "body", widget: "markdown"}
- {label: "Categories", name: "categories", widget: "string", required: false}
# meta: # Meta data fields. Just like fields, but without any preview element
# - {label: "Publish Date", name: "date", widget: "datetime", format: "YYYY-MM-DD hh:mm:ss"}

0 comments on commit a43e3ad

Please sign in to comment.