-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pages.yml
58 lines (54 loc) · 1.31 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
# Source: https://pagescms.org/docs/examples/
media: media
content:
- name: favorites
label: Favorites
path: _favorites
type: collection
- name: code
label: Code
path: _code
type: collection
- name: notes
label: Notes
path: _notes
type: collection
view:
fields: [ title, published, date, tags ]
fields:
- name: published
label: Published
type: boolean
default: true
- name: date
label: Date
type: date
- name: title
label: Title
type: string
- name: body
label: Body
type: rich-text
- name: tags
label: Tags
type: string
- name: config
label: Jekyll config
path: _config.yml
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...)