Skip to content

Commit

Permalink
Nested collection added (umbrella decaporg/decap-cms#3716)
Browse files Browse the repository at this point in the history
  • Loading branch information
fbuireu committed Dec 29, 2020
1 parent aa15d23 commit 9b553eb
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions static/admin/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
backend:
name: git-gateway
name: github
repo: fbuireu/biancafiore
branch: master
commit_messages:
Expand Down Expand Up @@ -120,7 +120,6 @@ collections:
]
}
- { name: body, label: Body, required: true, widget: markdown }
meta: { path: { widget: string, label: 'Name', index_file: '{{slug}}' } }
- name: blog
label: Blog
label_singular: Article
Expand Down Expand Up @@ -151,12 +150,9 @@ collections:
view_groups:
- label: Featured articles
field: content.isFeaturedArticle
nested:
depth: 100
summary: '{{content.title}}'
fields:
- { name: key, label: Key, required: true, widget: hidden, default: article }
- { name: language, label: Language, required: true, widget: relation, collection: languages, search_fields: [ name, isoCode ], value_field: name, display_fields: [ name ] }
- { name: language, label: Language, required: true, widget: relation, collection: languages, search_fields: [ name, isoCode ], value_field: name, display_fields: [ name ], default: English }
- { name: author, label: Author, required: true, widget: relation, collection: authors, search_fields: [ name ], value_field: name, display_fields: [ name ], default: Bianca Fiore }
- { name: seo, label: SEO, widget: object, collapsed: true,
fields: [
Expand All @@ -177,7 +173,6 @@ collections:
]
}
- { name: body, label: Body, required: true, widget: markdown }
meta: { path: { widget: string, label: 'Path', index_file: 'index' } }
- name: pages
label: Pages
label_singular: Page
Expand Down

0 comments on commit 9b553eb

Please sign in to comment.