-
-
Notifications
You must be signed in to change notification settings - Fork 80
/
Copy path_config.yml
51 lines (42 loc) · 1.12 KB
/
_config.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
page_gen-dirs: true # uncomment, if you prefer to generate named folders
page_gen:
- data: 'members'
template: 'profile'
name: 'full_name'
dir: 'people'
- data: 'pets'
template: 'pet'
name: 'pet_name'
dir: 'pets'
- index_files: false
data: 'books'
template: 'book'
name: 'title'
dir: 'all-books'
debug: true
- data: 'books'
template: 'book'
name: 'title'
dir: 'books-i-have-read'
filter: read # read is a boolean value in the YML file
# read is a boolean value in the YML file, but I need to test for
# falsity (read: false). The field `filter` is no good and I need to
# use filter_conditions
- data: 'books'
template: 'book'
name: 'title'
dir: 'books-i-have-not-read'
filter_condition: "record['read'] == false"
- data: 'books'
template: 'book'
name: 'title'
dir: 'books-by-orwell'
filter_condition: "record['author'] == 'George Orwell'"
- data: 'hierarchy.people'
template: 'profile'
name: 'full_name'
dir: 'hierarchy'
- data: 'members'
template: 'metadata'
dir: 'metadata'
name: 'full_name'