-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexample.yaml
86 lines (75 loc) · 1.67 KB
/
example.yaml
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
---
name: My Test Site
description: Just another database described in YAML
# tell me what **not** to delete
blank_slate:
preserve_users:
- me
- myself
- 123 # ID
# insert users
users:
- email: [email protected]
login: admin
role: administrator
password: meep
- email: [email protected]
login: johndoe
role: editor
password: mop
meta:
my_info: 'This info is v important'
moar_info: 'here iz sum moar infoz'
# insert arbitrary post data
posts:
- title: My Blog Post
type: post
- title: Page with a Custom Slug
slug: yep-this-heres-a-completely-custom-slug
type: page
content: |
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Nunc haec primum fortasse audientis servire debemus.
Sumenda potius quam expetenda.
Mihi quidem Homerus huius modi quiddam vidisse videatur in iis,
quae de Sirenum cantibus finxerit.
Ut in geometria, prima si dederis, danda sunt omnia.
# specify any number of terms, across taxonomies
terms:
page_type:
- custom-term-slug
category:
- special
- title: A Post with Some Meta Fields
type: page
# oh and I want to nest this page
parent: bar
meta:
my_custom_field: Some custom value
another_field:
- 'value #1'
- 'value #2'
- 'value #3'
terms:
page_type:
- custom-term-slug
- another
- and-another
associations:
- meta_key: associated_user
type: user
email: [email protected]
# Define taxonomy terms
taxonomies:
category:
- name: Special
- name: Snowflake
- name: Unicorn
page_type:
- name: Page Type
slug: custom-term-slug
- name: Another Page Type
slug: another
- name: And Another
...