-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pages.yml
47 lines (46 loc) · 1.25 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
47
media:
input: assets
output: static
content:
- name: posts
label: Post
type: collection
path: content/posts
view:
fields: [title, draft, author, date]
fields:
- name: title
label: Title
type: string
description: Title for the post
- name: description
label: Description
type: string
description: Breif summary or description of the post
- name: author
label: Author
type: select
description: Author of the post
options:
values: ["Alejandro Ramirez", "Dagoberto Dominguez", "Luis Angel Ortega"]
- name: date
label: Date
type: date
description: Creation or published date
- name: draft
label: Draft
type: boolean
default: true
description: If this is set, the post won't appear on the webpage
- name: categories
label: Category
type: string
description: Category for the post
- name: featured_image
label: Header
type: image
description: Featured image that will appear next and upside the blog post
- name: body
label: Body
type: rich-text
description: The actual blog post