forked from kevin-powell/JAMStack-blog-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yml
More file actions
22 lines (20 loc) · 764 Bytes
/
config.yml
File metadata and controls
22 lines (20 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
backend:
name: git-gateway
branch: main
media_folder: "src/assets/blog"
public_folder: "/assets/blog"
collections:
- name: "blog"
label: "Blog"
folder: "src/blog"
create: true
slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
fields:
- { name: "title", label: "Title", widget: "string" }
- { name: "description", label: "Description", widget: "string" }
- { name: "author", label: "Author", widget: "string" }
- { name: "date", label: "Date", widget: "datetime" }
- { name: "tags", label: "Tags", widget: "list", default: "['posts']"}
- { name: "image", label: "Featured Image", widget: "image" }
- { name: "imageAlt", label: "Image Caption", widget: "string" }
- { name: "body", label: "body"}