-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
37 lines (37 loc) · 1.18 KB
/
config.js
File metadata and controls
37 lines (37 loc) · 1.18 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
export const config = {
load_config_file: false,
backend: {
name: "github",
repo: "UltraYield/docs"
},
media_folder: "public/images",
public_folder: "/images",
collections: [
{
label: "Навигация", name: "navigation", folder: "content/nav",
create: true, slug: "{{text}}",
fields: [
{ label: "Название", name: "text", widget: "string" },
{ label: "URL", name: "link", widget: "string" },
{ label: "Порядок", name: "order", widget: "number" },
]
},
{
label: "Боковое меню", name: "sidebar", folder: "content/sidebar",
create: true, slug: "{{text}}",
fields: [
{ label: "Название", name: "text", widget: "string" },
{ label: "URL", name: "link", widget: "string" },
{ label: "Порядок", name: "order", widget: "number" },
]
},
{
label: "Детали", name: "features", folder: "content/features",
create: true, slug: "{{text}}",
fields: [
{ label: "Название", name: "text", widget: "string" },
{ label: "Описание", name: "description", widget: "markdown" },
]
},
]
}