Commit 85b0261b authored by Evaryont's avatar Evaryont

Update the file extension netlify looks for

parent 54ad5430
Pipeline #8 failed with stage
in 2 minutes and 5 seconds
......@@ -17,14 +17,20 @@ backend:
media_folder: "source/assets/images/uploads" # Folder where user uploaded files should go
public_folder: "/images/uploads" # CMS now knows 'source' is the public folder and will strip this from the path
display_url: 'https://evaryont.me'
collections:
- name: "post" # Used in routes, ie.: /admin/collections/:slug/edit
label: "Post" # Used in the UI, ie.: "New Post"
folder: "source/posts" # The path to the folder where the documents are stored
create: true # Allow users to create new documents in this collection
slug: "{{slug}}"
extension: markdown
format: yaml-frontmatter
fields: # The fields each document in this collection have
- {label: "Title", name: "title", widget: "string"}
- {label: "Date", name: "date", widget: "datetime"}
- {label: "Tags", name: "tags", widget: "list"}
- {label: "Body", name: "body", widget: "markdown"}
editor:
preview: false # disable the post preview by default
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment