blob: 4f36c1ee4d69601755144311b310cb9a6cf525f4 (
plain) (
blame)
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
|
[model]
name = Blog Post
label = {{ this.title }}
[fields.title]
label = Title
type = string
size = large
[fields.publication_date]
label = Publication date
type = date
width = 1/2
[fields.updated_date]
label = Updated date
type = date
width = 1/2
[fields.category]
label = Category
type = select
source = site.query('/categories')
width = 1/2
[fields.render_toc]
label = Render TOC
type = boolean
checkbox_label = If true, then a TOC will be rendered in the webpage.
default = false
width = 1/2
[fields.body]
label = Body
type = markdown
[fields.tags]
label = Tags
type = strings
|