-
Notifications
You must be signed in to change notification settings - Fork 2
/
.pages.yml
79 lines (78 loc) · 1.88 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
media:
input: static/content-images
output: /static/content-images
content:
- name: posts
label: Posts
path: content/posts
type: collection
filename: '{year}-{month}-{day}-{primary}.md'
view:
fields: [ title, tags, date ]
primary: title
sort: [ date, title ]
fields:
- name: title
label: Title
type: string
required: true
- name: tags
label: Tags
type: string
description: Comma-separated list of tags
required: true
- name: date
label: Date
type: date
options:
format: YYYY-MM-DD
required: false
- name: versions
label: Versions
type: string
description: A list of relevant tool/software versions or commits used in the blog post
list: true
required: false
- name: body
label: Body
type: rich-text
options:
format: markdown
required: true
- name: drafts
label: Drafts
path: content/drafts
type: collection
filename: '{year}-{month}-{day}-{primary}.md'
view:
fields: [ title, tags, date ]
primary: title
sort: [ date, title ]
fields:
- name: title
label: Title
type: string
required: true
- name: tags
label: Tags
type: string
description: Comma-separated list of tags
required: true
- name: date
label: Date
type: date
options:
format: YYYY-MM-DD
required: false
- name: versions
label: Versions
type: string
list: true
description: A list of relevant tool/software versions or commits used in the blog post
required: false
- name: body
label: Body
type: rich-text
options:
format: markdown
required: true