Single file collections (#132)
* Files based collections skeleton * listing file based cards * create new entry with collection * moved lookupEntry to main backend * Editing single page Collections file * List widget basic implementation * Adjustments for test-repo * check if value exists before trying to iterate over
This commit is contained in:
@ -37,13 +37,6 @@ collections: # A list of collections the CMS should be able to edit
|
||||
description: "General Site Settings"
|
||||
fields:
|
||||
- {label: "Global title", name: site_title, widget: "string"}
|
||||
- label: "Post Settings"
|
||||
name: posts
|
||||
widget: "object"
|
||||
fields:
|
||||
- {label: "Number of posts on frontpage", name: front_limit, widget: number}
|
||||
- {label: "Default Author", name: author, widget: string}
|
||||
- {label: "Default Thumbnail", name: thumb, widget: image, class: "thumb"}
|
||||
|
||||
- name: "authors"
|
||||
label: "Authors"
|
||||
|
@ -30,7 +30,7 @@
|
||||
},
|
||||
_data: {
|
||||
"settings.json": {
|
||||
content: '{"site_title": "CMS Demo", "posts": {"front_limit": 5, "author": "Matt Biilmann"}}'
|
||||
content: '{"site_title": "CMS Demo"}'
|
||||
},
|
||||
"authors.yml": {
|
||||
content: 'authors:\n - name: Mathias\n description: Co-founder @ Netlify\n'
|
||||
|
Reference in New Issue
Block a user