site/static/admin/config.yml

108 lines
4.0 KiB
YAML
Raw Normal View History

2020-01-15 17:45:50 +03:00
backend:
name: github
repo: mipt-npm/site
media_folder: src/images
public_folder: images
collections:
- label: News
name: news
2020-08-24 14:46:46 +03:00
folder: src/content/news
2020-01-15 17:45:50 +03:00
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
2020-08-24 14:46:46 +03:00
folder: src/content/members
2020-01-15 17:45:50 +03:00
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
2020-08-24 14:46:46 +03:00
folder: src/content/projects/physics
2020-01-15 17:45:50 +03:00
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
2020-08-24 14:46:46 +03:00
folder: src/content/projects/education
2020-01-15 17:45:50 +03:00
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
2020-08-24 14:46:46 +03:00
folder: src/content/projects/math
2020-01-15 17:45:50 +03:00
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
2020-08-24 14:46:46 +03:00
folder: src/content/projects/software
2020-01-15 17:45:50 +03:00
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}