1+ site_url : https://pine64.org
2+ publish_mode : editorial_workflow
3+
4+ backend :
5+ name : github
6+ repo : pine64/website
7+ branch : main
8+ site_domain : pine64.org
9+
10+ media_folder : " static/images/uploads" # Adjust based on your media storage location
11+ public_folder : " /images/uploads" # URL path for accessing media
12+ logo_url : " https://pine64.org/img/logo.png"
13+
14+ collections :
15+ - name : " blog" # This is the name used in the URL
16+ label : " Blog" # This is the singular name of the content type for the UI
17+ label_singular : " Blog post"
18+ folder : " content/blog" # The folder where your posts markdown files will be saved
19+ create : true # Allows users to create new documents in this collection
20+ slug : " {{slug}}" # Filename template for new posts
21+ preview_path : " {{year}}/{{month}}/{{day}}/{{slug}}/"
22+ preview : false
23+ fields : # List of fields for the front matter
24+ - { label: "Title", name: "title", widget: "string" }
25+ - { label: "Description", name: "description", widget: "text" }
26+ - { label: "Date", name: "date", widget: "datetime" }
27+ - { label: "Image", name: "images", widget: "image", required: false }
28+ # - { label: "Hidden", name: "hidden", widget: "boolean", default: false }
29+ # - { label: "Comments", name: "comments", widget: "boolean", default: true }
30+ - { label: "Draft", name: "draft", widget: "boolean", default: false }
31+ # - { label: "Weight", name: "weight", widget: "number" }
32+ - { label: "Body", name: "body", widget: "markdown" }
33+ - name : authors
34+ label : Authors
35+ label_singular : ' Author'
36+ widget : list
37+ fields :
38+ - { label: 'Name', name: 'name', widget: 'string', hint: 'First and Last' }
39+ - { label: 'Description', name: 'description', widget: 'markdown' }
40+
41+ - name : " community" # This is the name used in the URL
42+ label : " Community" # This is the singular name of the content type for the UI
43+ label_singular : " Community"
44+ folder : " content/community" # The folder where your posts markdown files will be saved
45+ create : true # Allows users to create new documents in this collection
46+ slug : " {{slug}}" # Filename template for new posts
47+ preview : false
48+ fields : # List of fields for the front matter
49+ - { label: "Title", name: "title", widget: "string" }
50+ - { label: "Description", name: "description", widget: "text" }
51+ - { label: "Date", name: "date", widget: "datetime" }
52+ - { label: "Image", name: "images", widget: "image", required: false }
53+ - { label: "Draft", name: "draft", widget: "boolean", default: false }
54+ - { label: "Body", name: "body", widget: "markdown" }
55+
56+ - name : " contests" # This is the name used in the URL
57+ label : " Contests" # This is the singular name of the content type for the UI
58+ label_singular : " Contest"
59+ folder : " content/contests" # The folder where your posts markdown files will be saved
60+ create : true # Allows users to create new documents in this collection
61+ slug : " {{slug}}" # Filename template for new posts
62+ preview : false
63+ fields : # List of fields for the front matter
64+ - { label: "Title", name: "title", widget: "string" }
65+ - { label: "Description", name: "description", widget: "text" }
66+ - { label: "Date", name: "date", widget: "datetime" }
67+ - { label: "Image", name: "images", widget: "image", required: false }
68+ - { label: "Draft", name: "draft", widget: "boolean", default: false }
69+ - { label: "Body", name: "body", widget: "markdown" }
70+
71+ - name : " devices" # This is the name used in the URL
72+ label : " Devices" # This is the singular name of the content type for the UI
73+ label_singular : " Device"
74+ folder : " content/devices" # The folder where your posts markdown files will be saved
75+ create : true # Allows users to create new documents in this collection
76+ slug : " {{slug}}" # Filename template for new posts
77+ preview : false
78+ fields : # List of fields for the front matter
79+ - { label: "Title", name: "title", widget: "string" }
80+ - { label: "Description", name: "description", widget: "text" }
81+ - { label: "Date", name: "date", widget: "datetime" }
82+ - { label: "Image", name: "images", widget: "image", required: false }
83+ - { label: "Draft", name: "draft", widget: "boolean", default: false }
84+ - { label: "Body", name: "body", widget: "markdown" }
85+
86+ # - name: "documentation" # This is the name used in the URL
87+ # label: "Documentation" # This is the singular name of the content type for the UI
88+ # label_singular: "Documentation"
89+ # folder: "content/documentation/Clusterboard" # The folder where your posts markdown files will be saved
90+ # create: true # Allows users to create new documents in this collection
91+ # slug: "{{slug}}" # Filename template for new posts
92+ # preview: false
93+ # nested:
94+ # depth: 4 # max depth to show in the collection tree
95+ # summary: '{{dirname}}' # optional summary for a tree node, defaults to the inferred title field
96+ # fields: # List of fields for the front matter
97+ # - label: Title
98+ # name: title
99+ # widget: string
100+ # - label: Body
101+ # name: body
102+ # widget: markdown
103+ # meta: { path: { widget: string, label: 'Path', index_file: '_index' } }
104+
105+ - name : " podcast" # This is the name used in the URL
106+ label : " Podcast" # This is the singular name of the content type for the UI
107+ label_singular : " Podcast"
108+ folder : " content/podcast" # The folder where your posts markdown files will be saved
109+ create : true # Allows users to create new documents in this collection
110+ slug : " {{slug}}" # Filename template for new posts
111+ preview : false
112+ fields : # List of fields for the front matter
113+ - { label: "Title", name: "title", widget: "string" }
114+ - { label: "Description", name: "description", widget: "text" }
115+ - { label: "Date", name: "date", widget: "datetime" }
116+ - { label: "Image", name: "images", widget: "image", required: false }
117+ - { label: "Draft", name: "draft", widget: "boolean", default: false }
118+ - { label: "Body", name: "body", widget: "markdown" }
0 commit comments