site/static/admin/config.yml

108 lines
4.0 KiB
YAML
Raw Normal View History

2021-03-23 22:34:47 +03:00
backend:
name: github
repo: mipt-npm/site
2020-01-15 17:45:50 +03:00
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:
2021-03-23 22:34:47 +03:00
preview: true
2020-01-15 17:45:50 +03:00
fields:
2021-03-23 22:34:47 +03:00
- { label: Content Type, name: content_type, widget: string }
- { label: Title, name: title, widget: string }
2020-01-15 17:45:50 +03:00
- { label: Date, name: date, widget: date }
2021-03-23 22:34:47 +03:00
- { label: Published, name: published, widget: boolean }
- { label: Body, name: body, widget: markdown }
2020-01-15 17:45:50 +03:00
############################################################
- 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:
2021-03-23 22:34:47 +03:00
- { 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 }
2020-01-15 17:45:50 +03:00
#############################################################
- 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
2021-03-23 22:34:47 +03:00
fields:
- { label: Content Type, name: content_type, widget: string }
- { label: Display Title, name: title, widget: string }
2021-03-24 22:17:34 +03:00
- { label: Short Title, name: shortTitle, widget: string }
2021-03-23 22:34:47 +03:00
- { label: ID, name: id, widget: string }
- { label: Order, name: order, widget: number }
- { label: Published, name: published, widget: boolean }
- { label: Body, name: body, widget: markdown }
2020-01-15 17:45:50 +03:00
##############################################################
- 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
2021-03-23 22:34:47 +03:00
fields:
- { label: Content Type, name: content_type, widget: string }
- { label: Display Title, name: title, widget: string }
2021-03-24 22:17:34 +03:00
- { label: Short Title, name: shortTitle, widget: string }
2021-03-23 22:34:47 +03:00
- { label: ID, name: id, widget: string }
- { label: Order, name: order, widget: number }
- { label: Published, name: published, widget: boolean }
- { label: Body, name: body, widget: markdown }
2020-01-15 17:45:50 +03:00
##############################################################
- 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
2021-03-23 22:34:47 +03:00
fields:
- { label: Content Type, name: content_type, widget: string }
- { label: Display Title, name: title, widget: string }
2021-03-24 22:17:34 +03:00
- { label: Short Title, name: shortTitle, widget: string }
2021-03-23 22:34:47 +03:00
- { label: ID, name: id, widget: string }
- { label: Order, name: order, widget: number }
- { label: Published, name: published, widget: boolean }
- { label: Body, name: body, widget: markdown }
2020-01-15 17:45:50 +03:00
##############################################################
- 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
2021-03-23 22:34:47 +03:00
fields:
- { label: Content Type, name: content_type, widget: string }
- { label: Display Title, name: title, widget: string }
2021-03-24 22:17:34 +03:00
- { label: Short Title, name: shortTitle, widget: string }
2021-03-23 22:34:47 +03:00
- { label: ID, name: id, widget: string }
- { label: Order, name: order, widget: number }
- { label: Published, name: published, widget: boolean }
- { label: Body, name: body, widget: markdown }
2020-01-15 17:45:50 +03:00
##############################################################
- label: Dataforge News
name: df-news
folder: src/pages/dataforge/content/news
create: true
editor:
2021-03-23 22:34:47 +03:00
preview: true
2020-01-15 17:45:50 +03:00
fields:
2021-03-23 22:34:47 +03:00
- { label: Content Type, name: content_type, widget: string }
- { label: Title, name: title, widget: string }
2020-01-15 17:45:50 +03:00
- { label: Date, name: date, widget: date }
2021-03-23 22:34:47 +03:00
- { label: Published, name: published, widget: boolean }
- { label: Body, name: body, widget: markdown }