generated from pages-cms/eleventy-blog-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pages.yml
46 lines (46 loc) · 1.45 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
media: public/img
content:
- name: posts
label: Posts
type: collection
path: content/blog
view:
fields: [ title, draft, date ]
fields:
- { name: title, label: Title, type: string, required: true }
- { name: description, label: Description, type: string }
- { name: date, label: Date, type: date }
- { name: draft, label: Draft, type: boolean }
- { name: tags, label: Tags, type: string, list: true }
- { name: body, label: Body, type: rich-text }
- name: about
label: About page
type: file
path: content/about/index.md
fields:
- { name: layout, type: string, hidden: true, default: layouts/base.njk }
- name: eleventyNavigation
label: Navigation
type: object
fields:
- { name: key, label: Key, type: string }
- { name: order, label: Order, type: number }
- { name: body, label: Body, type: rich-text }
- name: apropos
label: À propos
type: file
path: content/apropos/index.md
fields:
- { name: layout, type: string, hidden: true, default: layouts/base.njk }
- name: eleventyNavigation
label: Navigation
type: object
fields:
- { name: key, label: Key, type: string }
- { name: order, label: Order, type: number }
- { name: body, label: Body, type: rich-text }
- name: metadata
label: Metadata
type: file
path: _data/metadata.js
format: code