108 lines
4.0 KiB
YAML
108 lines
4.0 KiB
YAML
|
backend:
|
||
|
name: github
|
||
|
repo: mipt-npm/site
|
||
|
|
||
|
media_folder: src/images
|
||
|
public_folder: images
|
||
|
|
||
|
collections:
|
||
|
- label: News
|
||
|
name: news
|
||
|
folder: src/pages/content/news
|
||
|
create: true
|
||
|
editor:
|
||
|
preview: true
|
||
|
fields:
|
||
|
- { label: Content Type, name: content_type, widget: string}
|
||
|
- { label: Title, name: title, widget: string}
|
||
|
- { label: Date, name: date, widget: date }
|
||
|
- { label: Published, name: published, widget: boolean}
|
||
|
- { label: Body, name: body, widget: markdown}
|
||
|
############################################################
|
||
|
- label: Members
|
||
|
name: members
|
||
|
folder: src/pages/content/members
|
||
|
create: true
|
||
|
editor:
|
||
|
preview: true
|
||
|
fields:
|
||
|
- { label: Content Type, name: content_type, widget: string}
|
||
|
- { label: Display Name, name: title, widget: string}
|
||
|
- { label: ID, name: id, widget: string}
|
||
|
- { label: Order, name: order, widget: number}
|
||
|
- { label: Photo, name: image, widget: image, required: false}
|
||
|
- { label: Published, name: published, widget: boolean}
|
||
|
- { label: Body, name: body, widget: markdown}
|
||
|
#############################################################
|
||
|
- label: Physics
|
||
|
name: physics
|
||
|
folder: src/pages/content/projects/physics
|
||
|
create: true
|
||
|
editor:
|
||
|
preview: true
|
||
|
fields:
|
||
|
- { label: Content Type, name: content_type, widget: string}
|
||
|
- { label: Display Title, name: title, widget: string}
|
||
|
- { label: Short Title, name: title, widget: string}
|
||
|
- { label: ID, name: id, widget: string}
|
||
|
- { label: Order, name: order, widget: number}
|
||
|
- { label: Published, name: published, widget: boolean}
|
||
|
- { label: Body, name: body, widget: markdown}
|
||
|
##############################################################
|
||
|
- label: Education
|
||
|
name: education
|
||
|
folder: src/pages/content/projects/education
|
||
|
create: true
|
||
|
editor:
|
||
|
preview: true
|
||
|
fields:
|
||
|
- { label: Content Type, name: content_type, widget: string}
|
||
|
- { label: Display Title, name: title, widget: string}
|
||
|
- { label: Short Title, name: title, widget: string}
|
||
|
- { label: ID, name: id, widget: string}
|
||
|
- { label: Order, name: order, widget: number}
|
||
|
- { label: Published, name: published, widget: boolean}
|
||
|
- { label: Body, name: body, widget: markdown}
|
||
|
##############################################################
|
||
|
- label: Math
|
||
|
name: math
|
||
|
folder: src/pages/content/projects/math
|
||
|
create: true
|
||
|
editor:
|
||
|
preview: true
|
||
|
fields:
|
||
|
- { label: Content Type, name: content_type, widget: string}
|
||
|
- { label: Display Title, name: title, widget: string}
|
||
|
- { label: Short Title, name: title, widget: string}
|
||
|
- { label: ID, name: id, widget: string}
|
||
|
- { label: Order, name: order, widget: number}
|
||
|
- { label: Published, name: published, widget: boolean}
|
||
|
- { label: Body, name: body, widget: markdown}
|
||
|
##############################################################
|
||
|
- label: Software
|
||
|
name: software
|
||
|
folder: src/pages/content/projects/software
|
||
|
create: true
|
||
|
editor:
|
||
|
preview: true
|
||
|
fields:
|
||
|
- { label: Content Type, name: content_type, widget: string}
|
||
|
- { label: Display Title, name: title, widget: string}
|
||
|
- { label: Short Title, name: title, widget: string}
|
||
|
- { label: ID, name: id, widget: string}
|
||
|
- { label: Order, name: order, widget: number}
|
||
|
- { label: Published, name: published, widget: boolean}
|
||
|
- { label: Body, name: body, widget: markdown}
|
||
|
##############################################################
|
||
|
- label: Dataforge News
|
||
|
name: df-news
|
||
|
folder: src/pages/dataforge/content/news
|
||
|
create: true
|
||
|
editor:
|
||
|
preview: true
|
||
|
fields:
|
||
|
- { label: Content Type, name: content_type, widget: string}
|
||
|
- { label: Title, name: title, widget: string}
|
||
|
- { label: Date, name: date, widget: date }
|
||
|
- { label: Published, name: published, widget: boolean}
|
||
|
- { label: Body, name: body, widget: markdown}
|