changes working

This commit is contained in:
akilan
2020-05-10 20:47:17 +04:00
parent 8c14650b51
commit 2fca76e753
154 changed files with 6271 additions and 1 deletions

View File

@@ -0,0 +1,45 @@
---
label: Author
hide_body: true
fields:
- name: title
type: text
config:
required: false
label: Name
- name: bio
type: textarea
default: ''
config:
required: false
wysiwyg: false
schema:
format: markdown
label: Bio
- name: avatar
type: file
config:
maxSize: 250
label: Avatar Image
- name: social
type: field_group_list
fields:
- name: title
type: text
config:
required: false
label: Title
- name: url
type: text
config:
required: false
label: URL
config:
min:
max:
labelField:
label: Social Media
- name: featured
type: boolean
label: Featured Author
description: Feature this author on the home page

View File

@@ -0,0 +1,20 @@
---
label: Home Hero
hide_body: true
fields:
- name: heading
type: text
config:
required: false
label: Heading
description: The text displayed in the hero
- name: maxWidthPX
type: number
label: Max Width
description: The maximum possible width of the hero (in pixels)
default: '652'
config:
required: true
min:
max:
step:

View File

@@ -0,0 +1,9 @@
---
label: Home
hide_body: true
fields:
- name: hero
type: include
config: {}
template: home-hero
label: Hero

View File

@@ -0,0 +1,42 @@
---
label: Post
hide_body: false
fields:
- name: title
type: text
config:
required: false
label: Title
- name: excerpt
type: text
config:
required: false
label: Excerpt
- name: date
type: datetime
label: Date
description: ''
config:
required: false
date_format:
time_format:
display_utc: false
- name: timeToRead
type: number
label: Read Time
description: The time it takes to read the post (in minutes)
default: 0
config:
required: true
min:
max:
step:
- name: hero
type: file
config:
maxSize: 250
label: Hero Image
- name: authors
type: tag_list
default: []
label: Authors