|
@@ -1,6 +1,7 @@
|
|
backend:
|
|
backend:
|
|
name: git-gateway
|
|
name: git-gateway
|
|
branch: master
|
|
branch: master
|
|
|
|
+ squash_merges: true
|
|
media_folder: 'static/media'
|
|
media_folder: 'static/media'
|
|
public_folder: '/media'
|
|
public_folder: '/media'
|
|
collections:
|
|
collections:
|
|
@@ -22,7 +23,7 @@ collections:
|
|
name: "weight"
|
|
name: "weight"
|
|
widget: "number"
|
|
widget: "number"
|
|
default: 10
|
|
default: 10
|
|
- valueType: "int"
|
|
|
|
|
|
+ value_type: "int"
|
|
min: 0
|
|
min: 0
|
|
max: 1001
|
|
max: 1001
|
|
step: 10
|
|
step: 10
|
|
@@ -66,7 +67,7 @@ collections:
|
|
name: "image_darken"
|
|
name: "image_darken"
|
|
widget: "number"
|
|
widget: "number"
|
|
default: 0.0
|
|
default: 0.0
|
|
- valueType: "float"
|
|
|
|
|
|
+ value_type: "float"
|
|
min: 0.0
|
|
min: 0.0
|
|
max: 1.0
|
|
max: 1.0
|
|
step: 0.1
|
|
step: 0.1
|
|
@@ -77,6 +78,7 @@ collections:
|
|
label_singular: Author
|
|
label_singular: Author
|
|
folder: 'content/authors'
|
|
folder: 'content/authors'
|
|
path: '{{slug}}/_index'
|
|
path: '{{slug}}/_index'
|
|
|
|
+ filter: {field: "cms_exclude"}
|
|
create: true # Allow users to create new documents in this collection
|
|
create: true # Allow users to create new documents in this collection
|
|
fields: # The fields each document in this collection have
|
|
fields: # The fields each document in this collection have
|
|
- {label: "Display name (such as your full name)", name: "title", widget: "string"}
|
|
- {label: "Display name (such as your full name)", name: "title", widget: "string"}
|
|
@@ -141,7 +143,7 @@ collections:
|
|
fields:
|
|
fields:
|
|
- {label: Course, name: course, widget: string, required: true}
|
|
- {label: Course, name: course, widget: string, required: true}
|
|
- {label: Institution, name: institution, widget: string, required: true}
|
|
- {label: Institution, name: institution, widget: string, required: true}
|
|
- - {label: Year, name: year, widget: number, valueType: int, required: false}
|
|
|
|
|
|
+ - {label: Year, name: year, widget: number, value_type: int, required: false}
|
|
- {label: "Email (to use a Gravatar.com avatar)", name: "email", widget: "string", required: false}
|
|
- {label: "Email (to use a Gravatar.com avatar)", name: "email", widget: "string", required: false}
|
|
- label: "Super user (is this the primary site user?)"
|
|
- label: "Super user (is this the primary site user?)"
|
|
name: "superuser"
|
|
name: "superuser"
|
|
@@ -156,6 +158,7 @@ collections:
|
|
label_singular: Post
|
|
label_singular: Post
|
|
folder: 'content/post'
|
|
folder: 'content/post'
|
|
path: '{{slug}}/index'
|
|
path: '{{slug}}/index'
|
|
|
|
+ filter: {field: "cms_exclude"}
|
|
create: true # Allow users to create new documents in this collection
|
|
create: true # Allow users to create new documents in this collection
|
|
fields: # The fields each document in this collection have
|
|
fields: # The fields each document in this collection have
|
|
- {label: "Title", name: "title", widget: "string"}
|
|
- {label: "Title", name: "title", widget: "string"}
|
|
@@ -211,6 +214,7 @@ collections:
|
|
label_singular: Project
|
|
label_singular: Project
|
|
folder: 'content/project'
|
|
folder: 'content/project'
|
|
path: '{{slug}}/index'
|
|
path: '{{slug}}/index'
|
|
|
|
+ filter: {field: "cms_exclude"}
|
|
create: true # Allow users to create new documents in this collection
|
|
create: true # Allow users to create new documents in this collection
|
|
fields: # The fields each document in this collection have
|
|
fields: # The fields each document in this collection have
|
|
- {label: "Title", name: "title", widget: "string"}
|
|
- {label: "Title", name: "title", widget: "string"}
|
|
@@ -282,6 +286,7 @@ collections:
|
|
label_singular: Event
|
|
label_singular: Event
|
|
folder: 'content/event'
|
|
folder: 'content/event'
|
|
path: '{{slug}}/index'
|
|
path: '{{slug}}/index'
|
|
|
|
+ filter: {field: "cms_exclude"}
|
|
create: true # Allow users to create new documents in this collection
|
|
create: true # Allow users to create new documents in this collection
|
|
fields: # The fields each document in this collection have
|
|
fields: # The fields each document in this collection have
|
|
- {label: "Title", name: "title", widget: "string"}
|
|
- {label: "Title", name: "title", widget: "string"}
|
|
@@ -362,6 +367,7 @@ collections:
|
|
label_singular: Publication
|
|
label_singular: Publication
|
|
folder: 'content/publication'
|
|
folder: 'content/publication'
|
|
path: '{{slug}}/index'
|
|
path: '{{slug}}/index'
|
|
|
|
+ filter: {field: "cms_exclude"}
|
|
create: true # Allow users to create new documents in this collection
|
|
create: true # Allow users to create new documents in this collection
|
|
fields: # The fields each document in this collection have
|
|
fields: # The fields each document in this collection have
|
|
- { label: "Title", name: "title", widget: "string" }
|
|
- { label: "Title", name: "title", widget: "string" }
|
|
@@ -438,6 +444,50 @@ collections:
|
|
- { label: "Summary (shortened abstract)", name: "summary", widget: "text", required: false }
|
|
- { label: "Summary (shortened abstract)", name: "summary", widget: "text", required: false }
|
|
- {label: "Details", name: "body", widget: "markdown", required: false}
|
|
- {label: "Details", name: "body", widget: "markdown", required: false}
|
|
- { label: "Publish this page on", name: "date", widget: "datetime" }
|
|
- { label: "Publish this page on", name: "date", widget: "datetime" }
|
|
|
|
+ - name: slides
|
|
|
|
+ label: Slides
|
|
|
|
+ label_singular: Slides
|
|
|
|
+ folder: 'content/slides'
|
|
|
|
+ path: '{{slug}}/index'
|
|
|
|
+ filter: {field: "cms_exclude"}
|
|
|
|
+ create: true # Allow users to create new documents in this collection
|
|
|
|
+ fields: # The fields each document in this collection have
|
|
|
|
+ - {label: "Title", name: "title", widget: "string"}
|
|
|
|
+ - {label: "Slides (separate with `---`)", name: "body", widget: "markdown"}
|
|
|
|
+ - {label: "Publish on", name: "date", widget: "datetime"}
|
|
|
|
+ - {label: "Summary", name: "summary", widget: "text", required: false}
|
|
|
|
+ - label: "Draft"
|
|
|
|
+ name: "draft"
|
|
|
|
+ widget: "boolean"
|
|
|
|
+ default: false
|
|
|
|
+ required: false
|
|
|
|
+ - label: "Tags"
|
|
|
|
+ name: "tags"
|
|
|
|
+ required: false
|
|
|
|
+ widget: "list"
|
|
|
|
+ - label: "Slide options"
|
|
|
|
+ name: "slides"
|
|
|
|
+ required: false
|
|
|
|
+ widget: object
|
|
|
|
+ fields:
|
|
|
|
+ - { label: "Theme (see https://github.com/hakimel/reveal.js#theming)", name: theme, widget: string, required: false, default: black }
|
|
|
|
+ - label: "Featured Image"
|
|
|
|
+ name: "image"
|
|
|
|
+ required: false
|
|
|
|
+ widget: object
|
|
|
|
+ fields:
|
|
|
|
+ - label: "Upload an image named `featured.jpg/png`"
|
|
|
|
+ name: "filename"
|
|
|
|
+ widget: "image"
|
|
|
|
+ default: "featured"
|
|
|
|
+ required: false
|
|
|
|
+ media_library:
|
|
|
|
+ config:
|
|
|
|
+ multiple: false
|
|
|
|
+ - {label: Caption, name: caption, widget: string, required: false}
|
|
|
|
+ - {label: Description for screen readers, name: alt_text, widget: string, required: false}
|
|
|
|
+ - {label: "Where's the focal point in the image? Smart, Center, TopLeft, Top, TopRight, Left, Right, BottomLeft, Bottom, BottomRight.", name: focal_point, widget: string, required: false, default: "Smart"}
|
|
|
|
+ - {label: Thumbnail Only?, name: preview_only, widget: boolean, default: false, required: false}
|
|
- name: pages
|
|
- name: pages
|
|
label: "Pages"
|
|
label: "Pages"
|
|
files:
|
|
files:
|