File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ backend :
2
+ name : linode-developer-cms
3
+ branch : gastby # Branch to update (optional; defaults to master)
4
+
5
+ publish_mode : editorial_workflow
6
+
7
+ media_folder : " static/assets" # Media files will be stored in the repo under static/images/uploads
8
+ public_folder : " /assets" # The src attribute for uploaded media will begin with /images/uploads
9
+
10
+ collections :
11
+
12
+ - name : " changelog" # Used in routes, e.g., /admin/collections/blog
13
+
14
+ label : " Changelogs" # Used in the UI
15
+
16
+ folder : " src/content/changelog/" # The path to the folder where the documents are stored
17
+
18
+ create : true # Allow users to create new documents in this collection
19
+
20
+ slug : " {{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md
21
+
22
+ fields : # The fields for each document, usually in front matter
23
+
24
+ - label : " Title"
25
+ name : " title"
26
+ widget : " string"
27
+
28
+ - label : " Publish Date"
29
+ name : " date"
30
+ required : true
31
+ widget : " datetime"
32
+ default : " "
33
+
34
+ - label : " Changelog Type"
35
+ name : " changelog"
36
+ required : true
37
+ widget : list
38
+ field : {
39
+ label : " Category" ,
40
+ name : " category" ,
41
+ widget : " select" ,
42
+ options : ["API", "Cloud Manager"]
43
+ }
44
+
45
+ - label : " Content"
46
+ name : " body"
47
+ widget : " markdown"
48
+ required : true
You can’t perform that action at this time.
0 commit comments