Skip to content

Commit

Permalink
Update admin config
Browse files Browse the repository at this point in the history
  • Loading branch information
doganulus authored Jul 10, 2024
1 parent 1f52d58 commit e93f5fc
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions static/admin/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ collections:
label_singular: PhD Thesis Defense
identifier_field: name
folder: content/events
slug: "{{fields.time}}-{{name}}"
slug: "{{fields.datetime}}-{{name}}"
path: "{{slug}}/index"
summary: "PhD Thesis Defense by {{name}} on {{fields.time | date('MMMM D, YYYY @HH:mm')}}"
summary: "PhD Thesis Defense by {{name}} on {{fields.datetime | date('MMMM D, YYYY @HH:mm')}}"
create: true
i18n: true
editor:
preview: false
sortable_fields: ["fields.time", "name"]
sortable_fields: ["fields.datetime", "name"]
filter: { field: "type", value: "phd-thesis-defense" }
fields:
- label: Type
Expand Down Expand Up @@ -92,14 +92,14 @@ collections:
label_singular: MS Thesis Defense
identifier_field: name
folder: content/events
slug: "{{fields.time}}-{{name}}"
slug: "{{fields.datetime}}-{{name}}"
path: "{{slug}}/index"
summary: "MS Thesis Defense by {{name}} on {{fields.time | date('MMMM D, YYYY @HH:mm')}}"
summary: "MS Thesis Defense by {{name}} on {{fields.datetime | date('MMMM D, YYYY @HH:mm')}}"
create: true
i18n: true
editor:
preview: false
sortable_fields: ["fields.time", "name"]
sortable_fields: ["fields.datetime", "name"]
filter: { field: "type", value: "ms-thesis-defense" }
fields:
- label: Type
Expand All @@ -116,7 +116,7 @@ collections:
widget: string
i18n: duplicate
- label: Date
name: time
name: datetime
widget: datetime
date_format: YYYY-MM-DD
time_format: HH:mm:00
Expand All @@ -143,14 +143,14 @@ collections:
label_singular: Seminar
identifier_field: name
folder: content/events
slug: "{{fields.time}}-{{name}}"
slug: "{{fields.datetime}}-{{name}}"
path: "{{slug}}/index"
summary: "Seminar by {{name}} on {{fields.time | date('MMMM D, YYYY @HH:mm')}}"
summary: "Seminar by {{name}} on {{fields.datetime | date('MMMM D, YYYY @HH:mm')}}"
create: true
i18n: true
editor:
preview: false
sortable_fields: ["fields.time", "name"]
sortable_fields: ["fields.datetime", "name"]
filter: { field: "type", value: "seminar" }
fields:
- label: Type
Expand All @@ -167,7 +167,7 @@ collections:
widget: string
i18n: duplicate
- label: Date
name: time
name: datetime
widget: datetime
date_format: YYYY-MM-DD
time_format: HH:mm:00
Expand Down Expand Up @@ -250,14 +250,14 @@ collections:
label_singular: Special Event
identifier_field: name
folder: content/events
slug: "{{fields.time}}-{{name}}"
slug: "{{fields.datetime}}-{{name}}"
path: "{{slug}}/index"
summary: "{{title}} by {{name}} on {{fields.time | date('MMMM D, YYYY @HH:mm')}}"
summary: "{{title}} by {{name}} on {{fields.datetime | date('MMMM D, YYYY @HH:mm')}}"
create: true
i18n: true
editor:
preview: false
sortable_fields: ["fields.time", "name"]
sortable_fields: ["fields.datetime", "name"]
filter: { field: "type", value: "special-event" }
fields:
- label: Type
Expand All @@ -274,7 +274,7 @@ collections:
widget: string
i18n: true
- label: Date
name: time
name: datetime
widget: datetime
date_format: YYYY-MM-DD
time_format: HH:mm:00
Expand Down

0 comments on commit e93f5fc

Please sign in to comment.