generated from manuelernestog/astrofy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.pages.yml
58 lines (51 loc) · 1.2 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
48
49
50
51
52
53
54
55
56
57
58
media:
input: public
output: /
extensions: [png, jpg, jpeg, gif, webp, svg, ico]
content:
- name: posts
label: Blog Posts
type: collection
path: src/content/blog
icon: file-text
fields:
- name: title
label: Title
type: string
required: true
- name: description
label: Description
type: text
required: true
- name: pubDate
label: Publication Date
type: date
required: true
options:
format: yyyy-MM-dd
- name: updatedDate
label: Last Updated
type: date
options:
format: yyyy-MM-dd
- name: heroImage
label: Hero Image
type: image
options:
path: public
extensions: [png, jpg, jpeg, gif, webp, svg]
- name: body
label: Content
type: rich-text
options:
format: markdown
image:
path: public
extensions: [png, jpg, jpeg, gif, webp, svg]
view:
fields: [title, pubDate, updatedDate]
primary: title
sort: [pubDate, title]
default:
sort: pubDate
order: desc