Compare commits

..

No commits in common. "b070295a4bc7367c0762dff505049c99402f1849" and "6143b73978f21f74f23669bd3fde51e5bdfae590" have entirely different histories.

2 changed files with 12 additions and 19 deletions

View file

@ -10,25 +10,18 @@ locale: 'fr'
media_folder: "static/images" media_folder: "static/images"
public_folder: "/images" public_folder: "/images"
collections: collections:
- name: pages - name: posts
label: Pages identifier_field: name
label_singular: 'Page' label: 'Blog' # Used in the UI
folder: content/pages folder: '_posts/blog' # The path to the folder where the documents are stored
create: true slug: '{{year}}-{{month}}-{{day}}-{{slug}}' # Filename template, e.g., yyyy-MM-dd-title.md
# adding a nested object will show the collection folder structure fields: # The fields for each document, usually in front matter
nested: - { label: 'Layout', name: 'layout', widget: 'hidden', default: 'blog' }
depth: 100 # max depth to show in the collection tree - { label: 'Title', name: 'title', widget: 'string' }
summary: '{{title}}' # optional summary for a tree node, defaults to the inferred title field - { label: 'Publish Date', name: 'date', widget: 'datetime' }
# adding a path object allows editing the path of entries - { label: 'Featured Image', name: 'thumbnail', widget: 'image' }
# moving an existing entry will move the entire sub tree of the entry to the new location - { label: 'Rating (scale of 1-5)', name: 'rating', widget: 'number' }
path: { widget: string, index_file: 'index' } - { label: 'Body', name: 'body', widget: 'markdown' }
fields:
- label: Title
name: title
widget: string
- label: Body
name: body
widget: markdown
# - label: 'Settings' # - label: 'Settings'
# name: settings # name: settings
# files: # files: