blob: 4a9186811d26ae69e2e70d3384e31f3d8f4b71e3 (
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
40
41
42
43
44
45
46
47
48
49
|
[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
[fields.category]
label = Category
type = select
source = site.query('/categories')
width = 1/2
[fields.tags]
label = Tags
type = strings
width = 1/2
[fields.description]
label = Description
type = string
description = Short summary used for the HTML meta description and Open Graph previews.
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 = flow
flow_blocks = markdown, trail, gallery
description = Build the post from Markdown sections, trail maps or galleries.
[fields.changelog]
label = Changelog
type = flow
flow_blocks = changelog
description = Record changes made to the post after publication.
|