-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pages.yml
65 lines (65 loc) · 1.51 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
content:
- name: links
label: Links
type: collection
path: 'src/links'
view:
fields: [ title, published, date ]
fields:
- name: published
label: Published
type: boolean
default: true
- name: date
label: Date
type: date
- name: title
label: Title
type: string
- name: link
label: Link
type: string
- name: tags
label: Tags
type: string
- name: stream
label: Stream
type: collection
path: 'src/stream'
filename:
view:
fields: [ title, published, date ]
fields:
- name: published
label: Published
type: boolean
default: true
- name: title
label: Title
type: string
- name: date
label: Date
type: date
- name: body
label: Body
type: rich-text
- name: site
label: Site settings
path: src/_data/site.json
type: file
fields:
- name: title
label: Website title
type: string
- name: description
label: Website description
type: string
description: Will be provused for any page with no description.
- name: url
label: Website URL
type: string
pattern: ^(https?:\/\/)?(www\.)?[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}(\/[^\s]*)?$
- name: cover
label: Preview image
type: image
description: Image used in the social preview on social networks (e.g. Facebook, Twitter...)