Skip to content

Commit

Permalink
Deploying to gh-pages from @ 356840d 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSeccubus committed Nov 1, 2023
1 parent 7905646 commit 450bf5e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,18 @@ backend:

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 450bf5e

Please sign in to comment.