-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yml
More file actions
45 lines (44 loc) · 2 KB
/
config.yml
File metadata and controls
45 lines (44 loc) · 2 KB
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
backend:
name: github
repo: missing-user/missing-user.github.io
branch: master
#publish_mode: editorial_workflow
media_folder: "images" # Media files will be stored in the repo under images/uploads
collections:
- name: "posts"
label: "Post"
create: true
slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
folder: "_posts"
fields:
- {label: "Layout", name: "layout", widget: "hidden", default: "post"}
- {label: "Title", name: "title", widget: "string"}
- {label: "Images", name: "images", widget: "image", media_library: {config: {multiple: true}}}
- {label: "Live URL", name: "link", widget: "string", default: "https://jurasic.dev/projectlink/"}
- {label: "Repository URL", name: "repository", widget: "string", default: "https://github.com/missing-user/projectlink/"}
- {label: "Latex Support", name: "mathjax", widget: "boolean", default: false, required: false}
- {label: "Body", name: "body", widget: "markdown", sanitize_preview: true}
- label: "Pages"
name: "pages"
files:
- label: "About Page"
name: "about"
file: "about.md"
fields:
- {label: Title, name: title, widget: string}
- {label: Description, name: description, widget: markdown, sanitize_preview: true}
- {label: "Body", name: "body", widget: "markdown", sanitize_preview: true}
- label: "Home Page"
name: "index"
file: "index.md"
fields:
- {label: Title, name: title, widget: string}
- {label: Description, name: description, widget: markdown, sanitize_preview: true}
- {label: "Body", name: "body", widget: "markdown", sanitize_preview: true}
- label: "Legal"
name: "legal-notice"
file: "legal-notice.md"
fields:
- {label: Title, name: title, widget: string}
- {label: Description, name: description, widget: markdown, sanitize_preview: true}
- {label: "Body", name: "body", widget: "markdown", sanitize_preview: true}