forked from VladimirSiv/VladimirSiv.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pages.yml
26 lines (26 loc) · 886 Bytes
/
.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
content:
- name: posts
label: Posts
type: collection
path: _posts
view:
fields: [title, date]
fields:
- { name: title, label: Title, type: string }
- { name: layout, type: string, hidden: true, default: post }
- { name: date, label: Date, type: date }
- { name: comments, label: Comments, type: boolean, default: false }
- { name: image, label: Image, type: image }
- { name: body, label: Body, type: text }
- name: About
label: About
type: file
path: _pages/about.md
view:
fields: [title]
fields:
- { name: title, label: Title, type: string }
- { name: layout, type: string, hidden: true, default: about }
- { name: comments, label: Comments, type: boolean, default: false }
- { name: image, label: Image, type: image }
- { name: body, label: Body, type: text }