|
1 | 1 | backend:
|
2 | 2 | name: git-gateway
|
3 | 3 | branch: master
|
4 |
| -media_folder: 'static/img/' |
5 |
| -public_folder: 'img' |
| 4 | +media_folder: 'static/media/' |
| 5 | +public_folder: 'media' |
6 | 6 | collections:
|
| 7 | + - name: home |
| 8 | + label: "Homepage" |
| 9 | + folder: 'content/home' |
| 10 | + path: '{{slug}}' |
| 11 | + summary: "{{filename}}: {{title}}" |
| 12 | + identifier_field: "widget_id" |
| 13 | + create: true |
| 14 | + fields: |
| 15 | + - {label: "Widget Type (See https://sourcethemes.com/academic/docs/page-builder/)", name: "widget", widget: "string", required: true} |
| 16 | + - {label: 'Your reference for this widget (e.g. recent-posts)', name: 'widget_id', widget: 'string', default: 'my-widget-123'} |
| 17 | + - {label: "Headless?", name: "headless", widget: "hidden", default: true} |
| 18 | + - label: "Widget position" |
| 19 | + name: "weight" |
| 20 | + widget: "number" |
| 21 | + default: 10 |
| 22 | + valueType: "int" |
| 23 | + min: 0 |
| 24 | + max: 1001 |
| 25 | + step: 10 |
| 26 | + - {label: "Title", name: "title", widget: "string", required: false} |
| 27 | + - {label: "Subtitle", name: "subtitle", widget: "string", required: false} |
| 28 | + - label: "Enabled?" |
| 29 | + name: "active" |
| 30 | + required: true |
| 31 | + widget: "boolean" |
| 32 | + default: true |
| 33 | + - label: "Widget Style" |
| 34 | + name: "design" |
| 35 | + widget: "object" |
| 36 | + required: false |
| 37 | + fields: |
| 38 | + - {label: "Columns (Pages, Contact, Portfolio, Blank support `1` or `2` cols)", name: "columns", widget: "string", default: "2", required: false} |
| 39 | + - {label: "Body", name: "body", widget: "markdown", required: false} |
7 | 40 | - name: authors
|
8 | 41 | label: Authors
|
9 | 42 | label_singular: Author
|
@@ -125,151 +158,6 @@ collections:
|
125 | 158 | - {label: Description for screen readers, name: alt_text, widget: string, required: false}
|
126 | 159 | - {label: "Where's the focal point in the image? Smart, Center, TopLeft, Top, TopRight, Left, Right, BottomLeft, Bottom, BottomRight.", name: focal_point, widget: string, required: false, default: "Smart"}
|
127 | 160 | - {label: Thumbnail Only?, name: preview_only, widget: boolean, default: false}
|
128 |
| - - name: projects |
129 |
| - label: Projects |
130 |
| - label_singular: Project |
131 |
| - folder: 'content/project' |
132 |
| - path: '{{slug}}/index' |
133 |
| - create: true # Allow users to create new documents in this collection |
134 |
| - fields: # The fields each document in this collection have |
135 |
| - - {label: "Title", name: "title", widget: "string"} |
136 |
| - - {label: "Subtitle", name: "subtitle", widget: "string", required: false} |
137 |
| - - {label: "Body", name: "body", widget: "markdown", required: false} |
138 |
| - - {label: "Publish this page on", name: "date", widget: "datetime"} |
139 |
| - - {label: "Summary", name: "summary", widget: "markdown", required: false} |
140 |
| - - label: "Draft" |
141 |
| - name: "draft" |
142 |
| - widget: "boolean" |
143 |
| - default: false |
144 |
| - - label: "Featured" |
145 |
| - name: "featured" |
146 |
| - widget: "boolean" |
147 |
| - default: false |
148 |
| - - label: "Authors" |
149 |
| - name: "authors" |
150 |
| - required: false |
151 |
| - widget: "list" |
152 |
| - - label: "Tags" |
153 |
| - name: "tags" |
154 |
| - required: false |
155 |
| - widget: "list" |
156 |
| - - label: "Categories" |
157 |
| - name: "categories" |
158 |
| - required: false |
159 |
| - widget: "list" |
160 |
| - - {label: "External link (optional - replaces link to project page)", name: "external_link", widget: "string"} |
161 |
| - - label: Links |
162 |
| - name: links |
163 |
| - required: false |
164 |
| - widget: list |
165 |
| - fields: |
166 |
| - - {label: Link, name: url, widget: string} |
167 |
| - - {label: Link text, name: name, widget: string, required: false} |
168 |
| - - label: Icon pack |
169 |
| - name: icon_pack |
170 |
| - widget: select |
171 |
| - multiple: false |
172 |
| - required: false |
173 |
| - options: |
174 |
| - - {label: "None", value: ""} |
175 |
| - - {label: "Solid", value: "fas"} |
176 |
| - - {label: "Regular", value: "far"} |
177 |
| - - {label: "Brand", value: "fab"} |
178 |
| - - {label: "Academic", value: "ai"} |
179 |
| - - {label: "Icon (see https://sourcethemes.com/academic/docs/page-builder/#icons)", name: icon, widget: string, required: false} |
180 |
| - - label: "Featured Image" |
181 |
| - name: "image" |
182 |
| - required: false |
183 |
| - widget: object |
184 |
| - fields: |
185 |
| - - label: "Upload an image named `featured.jpg/png`" |
186 |
| - name: "filename" |
187 |
| - widget: "image" |
188 |
| - default: "featured" |
189 |
| - media_library: |
190 |
| - config: |
191 |
| - multiple: false |
192 |
| - - {label: Caption, name: caption, widget: string, required: false} |
193 |
| - - {label: Description for screen readers, name: alt_text, widget: string, required: false} |
194 |
| - - {label: "Where's the focal point in the image? Smart, Center, TopLeft, Top, TopRight, Left, Right, BottomLeft, Bottom, BottomRight.", name: focal_point, widget: string, required: false, default: "Smart"} |
195 |
| - - {label: Thumbnail Only?, name: preview_only, widget: boolean, default: false} |
196 |
| - - name: talks |
197 |
| - label: Talks |
198 |
| - label_singular: Talk |
199 |
| - folder: 'content/talk' |
200 |
| - path: '{{slug}}/index' |
201 |
| - create: true # Allow users to create new documents in this collection |
202 |
| - fields: # The fields each document in this collection have |
203 |
| - - {label: "Title", name: "title", widget: "string"} |
204 |
| - - {label: "Abstract", name: "abstract", widget: "text"} |
205 |
| - - {label: "Where", name: "location", widget: "text"} |
206 |
| - - {label: "From", name: "date", widget: "datetime"} |
207 |
| - - {label: "To", name: "date_end", widget: "datetime", default: ""} |
208 |
| - - {label: "All day event?", name: "all_day", widget: "boolean", default: false} |
209 |
| - - label: Links/Tickets |
210 |
| - name: links |
211 |
| - required: false |
212 |
| - widget: list |
213 |
| - fields: |
214 |
| - - {label: Link, name: url, widget: string} |
215 |
| - - {label: Link text, name: name, widget: string, required: false} |
216 |
| - - label: Icon pack |
217 |
| - name: icon_pack |
218 |
| - widget: select |
219 |
| - multiple: false |
220 |
| - required: false |
221 |
| - options: |
222 |
| - - {label: "None", value: ""} |
223 |
| - - {label: "Solid", value: "fas"} |
224 |
| - - {label: "Regular", value: "far"} |
225 |
| - - {label: "Brand", value: "fab"} |
226 |
| - - {label: "Academic", value: "ai"} |
227 |
| - - {label: "Icon (see https://sourcethemes.com/academic/docs/page-builder/#icons)", name: icon, widget: string, required: false} |
228 |
| - - {label: "Event", name: "event", widget: "string"} |
229 |
| - - {label: "Event link", name: "event_url", widget: "string"} |
230 |
| - - {label: "Publish this page on", name: "publishDate", widget: "datetime"} |
231 |
| - - {label: "Markdown slides (reference a deck in 'content/slides/')", name: "slides", widget: "string", required: false} |
232 |
| - - label: "Draft" |
233 |
| - name: "draft" |
234 |
| - widget: "boolean" |
235 |
| - default: false |
236 |
| - - label: "Featured" |
237 |
| - name: "featured" |
238 |
| - widget: "boolean" |
239 |
| - default: false |
240 |
| - - label: "Authors" |
241 |
| - name: "authors" |
242 |
| - required: false |
243 |
| - widget: "list" |
244 |
| - - label: "Tags" |
245 |
| - name: "tags" |
246 |
| - required: false |
247 |
| - widget: "list" |
248 |
| - - label: "Categories" |
249 |
| - name: "categories" |
250 |
| - required: false |
251 |
| - widget: "list" |
252 |
| - - label: "Projects (reference projects in 'content/project/')" |
253 |
| - name: "projects" |
254 |
| - required: false |
255 |
| - widget: "list" |
256 |
| - - label: "Featured Image" |
257 |
| - name: "image" |
258 |
| - required: false |
259 |
| - widget: object |
260 |
| - fields: |
261 |
| - - label: "Upload an image named `featured.jpg/png`" |
262 |
| - name: "filename" |
263 |
| - widget: "image" |
264 |
| - default: "featured" |
265 |
| - media_library: |
266 |
| - config: |
267 |
| - multiple: false |
268 |
| - - {label: Caption, name: caption, widget: string, required: false} |
269 |
| - - {label: Description for screen readers, name: alt_text, widget: string, required: false} |
270 |
| - - {label: "Where's the focal point in the image? Smart, Center, TopLeft, Top, TopRight, Left, Right, BottomLeft, Bottom, BottomRight.", name: focal_point, widget: string, required: false, default: "Smart"} |
271 |
| - - {label: Thumbnail Only?, name: preview_only, widget: boolean, default: false} |
272 |
| - - {label: "Details", name: "body", widget: "markdown", required: false} |
273 | 161 | - name: pages
|
274 | 162 | label: "Pages"
|
275 | 163 | files:
|
|
0 commit comments