Skip to content

Commit

Permalink
Config yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hiensarahly committed Aug 6, 2019
1 parent 22df5cc commit 6eac997
Showing 1 changed file with 27 additions and 5 deletions.
32 changes: 27 additions & 5 deletions static/admin/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,37 @@ backend:
name: git-gateway
branch: master

media_folder: "static/img/uploads"
public_folder: "img/uploads"
media_folder: "static/uploads"
public_folder: "uploads"

collections:
- name: "myJulySite"
label: "July Site"
- name: "post"
label: "Post"
folder: "content/post"
create: true
slug: "{{year}}-{{slug}}"
fields:
- {label: "Title", name: "title", widget: "string", required: true}

- {label: "Publish Date", name: "date", widget: "date"}
- {label: "Featured Image", name: "image", widget: "image"}
- {label: "Body", name: "body", widget: "markdown"}
- name: "lifestyle"
label: "Lifestyle"
folder: "content/lifestyle"
create: true
slug: "{{year}}-{{slug}}"
fields:
- {label: "Title", name: "title", widget: "string", required: true}
- {label: "Publish Date", name: "date", widget: "date"}
- {label: "Featured Image", name: "image", widget: "image"}
- {label: "Body", name: "body", widget: "markdown"}
- name: "newstuff"
label: "New Stuff"
folder: "content/newstuff"
create: true
slug: "{{year}}-{{slug}}"
fields:
- {label: "Title", name: "title", widget: "string", required: true}
- {label: "Publish Date", name: "date", widget: "date"}
- {label: "Featured Image", name: "image", widget: "image"}
- {label: "Body", name: "body", widget: "markdown"}

0 comments on commit 6eac997

Please sign in to comment.