/
config.yml
28 lines (25 loc) · 1014 Bytes
/
config.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
backend:
name: github
repo: rycus86/blog.viktoradam.net
branch: master
# name: test-repo
publish_mode: editorial_workflow
media_folder: "static/images/uploads"
public_folder: "/images/uploads"
collections:
- name: "post"
label: "Post"
folder: "content/posts"
create: true
slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
identifier_field: "slug"
fields:
- {label: "Layout", name: "layout", widget: "hidden", default: "posts"}
- {label: "Title", name: "title", widget: "string"}
- {label: "Publish Date", name: "date", widget: "datetime"}
- {label: "Slug", name: "slug", widget: "string"}
- {label: "Tags", name: "tags", widget: "list"}
- {label: "Authors", name: "authors", widget: "list", default: ["viktor"]}
- {label: "SEO Title", name: "metaTitle", widget: "string", required: false}
- {label: "SEO Description", name: "metaDescription", widget: "string", required: false}
- {label: "Body", name: "body", widget: "markdown"}