-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pages.yml
More file actions
39 lines (39 loc) · 1000 Bytes
/
.pages.yml
File metadata and controls
39 lines (39 loc) · 1000 Bytes
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
media: src/_data/media
content:
- name: settings
label: Site Settings
type: file
format: json
path: src/_data/settings.json
fields:
- name: colophon
label: Colophon
type: rich-text
- name: homepage
label: Homepage
type: file
format: json
path: src/index.json
fields:
- name: intro
label: Intro
type: rich-text
- name: projects
label: Projects
path: src/_data/projects
type: collection
filename: "{fields.date.format('yyyy-MM-dd')}-{primary}.json"
fields:
- name: title
label: Title
type: string
- name: url
label: URL
type: string
pattern: {message: 'This must be a valid URL (e.g. https://example.com).', regex: '^(https?:\/\/)|$'}
- name: date
label: Date
description: A general time when this project was worked on. This will determine sort order.
type: date
options:
format: yyyy-MM-dd