Pages Roya

This commit is contained in:
2024-10-15 08:17:27 +02:00
parent 9129268db4
commit 49143c4192
16 changed files with 153 additions and 50 deletions

View File

@@ -24,46 +24,59 @@ collections:
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
- { label: 'Featured image', name: 'featuredimage', widget: 'image' }
- { label: 'Featured image', name: 'featuredimage', widget: 'image', 'media_folder': 'assets/images/', 'public_folder': '/images/' }
- { label: 'Description', name: 'description', widget: 'string' }
- { label: 'Body', name: 'body', widget: 'markdown' }
- name: 'pages'
label: 'Pages'
folder: 'content/pages'
create: true
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
slug: '{{slug}}'
editor:
preview: false
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
- { label: 'Featured image', name: 'featuredimage', widget: 'image' }
- { label: 'Featured image', name: 'featuredimage', widget: 'image', 'media_folder': 'assets/images/', 'public_folder': '/images/' }
- { label: 'Description', name: 'description', widget: 'string' }
- { label: 'Body', name: 'body', widget: 'markdown' }
- name: 'projects'
label: 'Projects'
folder: 'content/projects'
create: true
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
slug: '{{slug}}'
editor:
preview: false
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
- { label: 'Featured image', name: 'featuredimage', widget: 'image' }
- { label: 'Featured image', name: 'featuredimage', widget: 'image', 'media_folder': 'assets/images/', 'public_folder': '/images/' }
- { label: 'Description', name: 'description', widget: 'string' }
- { label: 'Body', name: 'body', widget: 'markdown' }
- name: 'roya'
label: 'Roya'
folder: 'content/roya'
create: true
slug: '{{slug}}'
editor:
preview: false
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
- { label: 'Featured image', name: 'featuredimage', widget: 'image', 'media_folder': 'assets/images/', 'public_folder': '/images/' }
- { label: 'Description', name: 'description', widget: 'string' }
- { label: 'Body', name: 'body', widget: 'markdown' }
- name: 'kitandgo'
label: 'KIT&Go'
folder: 'content/gotogether/kitandgo'
create: true
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
slug: '{{slug}}'
editor:
preview: false
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
- { label: 'Featured image', name: 'featuredimage', widget: 'image' }
- { label: 'Featured image', name: 'featuredimage', widget: 'image', 'media_folder': 'assets/images/', 'public_folder': '/images/' }
- { label: 'Description', name: 'description', widget: 'string' }
- { label: 'Body', name: 'body', widget: 'markdown' }
- name: 'references'
@@ -77,31 +90,31 @@ collections:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
- { label: 'Description', name: 'description', widget: 'string' }
- { label: 'Featured image', name: 'featuredimage', widget: 'image' }
- { label: 'Featured image', name: 'featuredimage', widget: 'image', 'media_folder': 'assets/images/', 'public_folder': '/images/' }
- { label: 'Body', name: 'body', widget: 'markdown' }
- name: 'emplois'
label: 'Emplois'
folder: 'content/emplois'
create: true
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
slug: '{{slug}}'
editor:
preview: false
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
- { label: 'Featured image', name: 'featuredimage', widget: 'image' }
- { label: 'Featured image', name: 'featuredimage', widget: 'image', 'media_folder': 'assets/images/', 'public_folder': '/images/' }
- { label: 'Description', name: 'description', widget: 'string' }
- { label: 'Body', name: 'body', widget: 'markdown' }
- name: 'other'
label: 'Autres pages'
folder: 'content'
create: true
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
slug: '{{slug}}'
editor:
preview: false
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
- { label: 'Featured image', name: 'featuredimage', widget: 'image' }
- { label: 'Featured image', name: 'featuredimage', widget: 'image', 'media_folder': 'assets/images/', 'public_folder': '/images/' }
- { label: 'Description', name: 'description', widget: 'string' }
- { label: 'Body', name: 'body', widget: 'markdown' }