Moar stuph
This commit is contained in:
46
resources/blueprints/collections/pages/page.yaml
Normal file
46
resources/blueprints/collections/pages/page.yaml
Normal file
@ -0,0 +1,46 @@
|
||||
title: Page
|
||||
tabs:
|
||||
main:
|
||||
display: Main
|
||||
sections:
|
||||
-
|
||||
fields:
|
||||
-
|
||||
handle: title
|
||||
field:
|
||||
type: text
|
||||
required: true
|
||||
validate:
|
||||
- required
|
||||
-
|
||||
handle: content
|
||||
field:
|
||||
remove_empty_nodes: false
|
||||
type: bard
|
||||
display: content
|
||||
-
|
||||
handle: template
|
||||
field:
|
||||
type: template
|
||||
display: Template
|
||||
localizable: true
|
||||
sidebar:
|
||||
display: Sidebar
|
||||
sections:
|
||||
-
|
||||
fields:
|
||||
-
|
||||
handle: slug
|
||||
field:
|
||||
type: slug
|
||||
localizable: true
|
||||
validate: 'max:200'
|
||||
-
|
||||
handle: parent
|
||||
field:
|
||||
type: entries
|
||||
collections:
|
||||
- pages
|
||||
max_items: 1
|
||||
listable: false
|
||||
localizable: true
|
||||
38
resources/blueprints/collections/prices/price.yaml
Normal file
38
resources/blueprints/collections/prices/price.yaml
Normal file
@ -0,0 +1,38 @@
|
||||
title: Price
|
||||
tabs:
|
||||
main:
|
||||
display: Main
|
||||
sections:
|
||||
-
|
||||
fields:
|
||||
-
|
||||
handle: title
|
||||
field:
|
||||
type: text
|
||||
required: true
|
||||
validate:
|
||||
- required
|
||||
-
|
||||
handle: content
|
||||
field:
|
||||
type: markdown
|
||||
display: Content
|
||||
localizable: true
|
||||
-
|
||||
handle: price
|
||||
field:
|
||||
append: €
|
||||
type: integer
|
||||
display: Price
|
||||
instructions: 'Prix de la place'
|
||||
sidebar:
|
||||
display: Sidebar
|
||||
sections:
|
||||
-
|
||||
fields:
|
||||
-
|
||||
handle: slug
|
||||
field:
|
||||
type: slug
|
||||
localizable: true
|
||||
validate: 'max:200'
|
||||
41
resources/blueprints/collections/sponsors/sponsor.yaml
Normal file
41
resources/blueprints/collections/sponsors/sponsor.yaml
Normal file
@ -0,0 +1,41 @@
|
||||
title: Sponsor
|
||||
tabs:
|
||||
main:
|
||||
display: Main
|
||||
sections:
|
||||
-
|
||||
fields:
|
||||
-
|
||||
handle: title
|
||||
field:
|
||||
type: text
|
||||
required: true
|
||||
-
|
||||
handle: name
|
||||
field:
|
||||
type: text
|
||||
validate:
|
||||
- required
|
||||
display: Name
|
||||
instructions: 'Nom du sponsor'
|
||||
-
|
||||
handle: logo
|
||||
field:
|
||||
max_files: 1
|
||||
min_files: 1
|
||||
mode: grid
|
||||
container: assets
|
||||
type: assets
|
||||
display: Logo
|
||||
instructions: 'Logo du sponsor'
|
||||
sidebar:
|
||||
display: Sidebar
|
||||
sections:
|
||||
-
|
||||
fields:
|
||||
-
|
||||
handle: slug
|
||||
field:
|
||||
type: slug
|
||||
localizable: true
|
||||
validate: 'max:200'
|
||||
Reference in New Issue
Block a user