Skip to content

Commit

Permalink
Removed Homepage from editor for now as it needs to be redone
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Nordhaus authored and Markus Nordhaus committed Nov 16, 2023
1 parent 2299b53 commit 9f34a08
Showing 1 changed file with 1 addition and 203 deletions.
204 changes: 1 addition & 203 deletions static/admin/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,206 +275,4 @@ collections:
default: false
- label: Body
name: body
widget: markdown
- file: content/_index.md
label: Homepage
name: home
fields:
- label: Title
name: title
widget: string
required: false
- label: Publish Date
name: date
widget: datetime
- label: Draft
name: draft
required: false
widget: boolean
default: false
- name: sections
label: Home Section
widget: list
min: 1
type_key: block
types:
- name: about.biography
label: About
widget: object
summary: '{{fields.block}} {{fields.content.title}}'
fields:
- name: block
widget: hidden
default: about.biography
- name: id
label: Unique Identifier
widget: string
- name: content
widget: object
fields:
- name: title
label: Title
widget: string
default: Biography
- name: username
label: Unique idetifier of the user (e.g. admin)
widget: string
default: admin
- name: contact
label: Contact
widget: object
summary: '{{fields.block}} {{fields.content.title}}'
fields:
- name: block
widget: hidden
default: contact
- name: id
label: Unique Identifier
widget: string
- name: content
widget: object
fields:
- name: title
label: Title
widget: string
default: Contact
- name: subtitle
label: Subtitle
widget: string
required: false
- name: text
label: Text
widget: string
required: false
- name: email
label: Email
widget: string
required: false
- name: phone
label: Phone
widget: string
required: false
- name: appointment_url
label: Appointment Url
widget: string
required: false
- name: address
label: Address
widget: object
required: false
fields:
- name: street
label: Street
widget: string
- name: city
label: City
widgtet: string
- name: region
label: Region
widget: string
required: false
- name: postcode
label: Postcode
widget: string
- name: country
label: Country
widget: string
- name: country_code
label: Country Code
widget: string
- name: directions
label: Additional Directions
widget: string
required: false
- name: office_hours
widget: list
required: false
fields:
- name: hours
widget: string
label: 'Hours like Minday 10:00 to 13:00'
- name: coordinates
label: GPS Coordinates to the Office
widget: object
required: false
fields:
- name: latitude
widget: string
label: Latitude
- name: longitude
widget: string
label: Longitude
- name: contact_links
widget: list
label: Contact links
fields:
- name: icon
label: Icon that represents the link
widget: string
- name: icon_pack
label: Icon pack
widget: select
multiple: false
options:
- label: None
value: ''
- label: Solid
value: fas
- label: Regular
value: far
- label: Brand
value: fab
- label: Academic
value: ai
- name: autolink
label: Autolink
hint: Automatically link email and phone or display as text?
widget: boolean
default: true
- name: form
label: Form
widget: object
required: false
fields:
- name: provider
label: Provider
widget: select
multiple: false
default: netlify
options:
- label: Netlify
value: netlify
- label: Formspree
value: formspree
- name: formspree
label: Formspree Config
widget: object
condition:
field: provider
value: formspree
fields:
- name: id
widget: string
label: Form ID
- name: netlify
label: Netlify Config
widget: object
condition:
field: provider
value: netlify
fields:
- name: captcha
label: Captcha
widget: boolean
default: true
- name: design
label: Design Settings
widget: object
fields:
- name: columns
label: Columns
widget: number
min: 1
max: 2
value_type: int
default: 2
widget: markdown

0 comments on commit 9f34a08

Please sign in to comment.