-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pages.yml
36 lines (36 loc) · 1.21 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
media: assets/covers
content:
- name: books
label: Books
type: file
list: true
path: public/books.json
fields:
- { name: isbn, label: ISBN, required: true, type: string }
- { name: owned, label: Posiadane?, type: boolean, default: true }
- { name: cover, label: Okładka, type: image }
- { name: language, label: Język, required: true, type: string }
- { name: region, label: Region, type: string }
- { name: country, label: Kraj, required: true, type: string }
- {
name: continent,
label: Kontynent,
type: select,
required: true,
options: {
values: [
Afryka,
Antarktyda,
Azja,
Europa,
Ameryka Północna,
Australia,
Ameryka Południowa
]
}
}
- { name: publisher, label: Wydawnictwo, type: string }
- { name: translator, label: Tłumaczenie, type: string }
- { name: title, label: Tytuł, required: true, type: string }
- { name: year, label: Rok, type: number }
- { name: author, label: Autor, type: string, default: "Antoine de Saint-Exupéry" }