-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pages.yml
61 lines (60 loc) · 1.37 KB
/
.pages.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
media:
input: public/assets/blog
output: /assets/blog
content:
- name: posts
label: Posts
path: _posts
type: collection
filename: '{fields.title}.md'
fields:
- name: title
label: Title
type: string
required: true
- name: date
label: Date
type: string
- name: excerpt
label: Blurb
type: string
required: true
- name: coverImage
label: Featured Image
type: image
options:
path: public/assets/blog
extensions: [jpg, jpeg, png, gif]
- name: author
label: Author
type: object
required: true
fields:
- name: name
label: Name
type: string
required: true
- name: picture
label: Avatar
type: image
options:
path: public/assets/blog/authors
extensions: [jpg, jpeg, png, gif]
- name: ogImage
label: OpenGraph Image
type: object
fields:
- name: url
label: URL
type: string
- name: preview
label: Preview
type: boolean
default: true
- name: featured
label: Featured Post
type: boolean
default: false
- name: body
label: Body
type: rich-text