This repository has been archived by the owner on Jan 1, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 48
/
stackbit.yaml
127 lines (127 loc) · 2.89 KB
/
stackbit.yaml
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
stackbitVersion: ~0.2.0
ssgName: custom
buildCommand: "npm run build"
pageLayoutKey: type
publishDir: dist
pagesDir: blog
staticDir: blog/.vuepress/public
uploadDir: images
dataDir: blog/.vuepress/data
models:
config:
type: data
label: Config
file: config.json
fields:
- name: title
type: string
label: Title
required: true
- name: description
type: text
label: Description
description: Text shown under the main logo
- name: base
type: string
label: Base
description: Base path under which the site will be served
default: "/vuepress-theme-casper/"
- name: themeConfig
type: object
label: Theme Config
fields:
- name: cover
type: image
label: Cover
description: Cover image shown on the home page
- name: logo
type: image
label: Logo
description: Logo image shown on the home page
- name: nav
type: list
label: Top Navigation Menu
items:
type: nav_item
- name: footer
type: list
label: Bottom Navigation Menu
items:
type: nav_item
- name: social
type: object
label: Social
fields:
- name: github
type: string
label: Github Link
- name: twitter
type: string
label: Twitter Link
nav_item:
type: object
label: Navigation Item
labelField: text
fields:
- name: text
type: string
label: Label
required: true
- name: link
type: string
label: Link
required: true
description: "Link of the navigation item, e.g.: /posts or https://facebook.com"
home:
type: page
label: Home
layout: home
singleInstance: true
hideContent: true
file: index.md
fields: []
page:
type: page
label: Page
layout: page
match: "**/*.md"
exclude: "{index.md,posts/**/*,.vuewpress/**/*}"
fields:
- name: title
type: string
label: Title
required: true
post:
type: page
label: Post
folder: posts
match: "**/*.md"
layout: post
fields:
- name: title
type: string
label: Title
required: true
- name: image
type: image
label: Image
- name: publish
type: date
label: Date
required: true
- name: tags
type: list
label: Tags
items:
type: string
- name: categories
type: list
label: categories
items:
type: enum
options:
- dexter
- futurama
- name: readingTime
type: string
label: Reading Time