We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, it is not possible to create the following structure:
ingredients: - wet: - water: quantity: 1 unit: cup - dry: - flour: quantity: 10 unit: oz
The text was updated successfully, but these errors were encountered:
#366 - Better support for block in block fields
00273a8
In order to support this, changes have been made to the block renderer.
The field configuration looks as follows:
{ "frontMatter.taxonomy.contentTypes": [ { "name": "Recipe", "pageBundle": false, "previewPath": null, "fields": [ { "title": "Ingredients", "name": "ingredients", "type": "block", "fieldGroup": ["wet", "dry"] } ] } ], "frontMatter.taxonomy.fieldGroups": [ { "id": "wet", "fields": [ { "title": "Wet", "name": "wet", "type": "block", "fieldGroup": ["water", "oil"] } ] }, { "id": "water", "fields": [ { "title": "Water", "name": "water", "type": "fields", "fields": [ { "title": "Quantity", "name": "quantity", "type": "string", "single": true }, { "title": "Unit", "name": "unit", "type": "string", "single": true } ] } ] }, ... ] }
Output looks as follows in front matter:
ingredients: - wet: - water: quantity: "123" unit: Cups fieldGroup: water fieldGroup: wet
Sorry, something went wrong.
No branches or pull requests
Currently, it is not possible to create the following structure:
The text was updated successfully, but these errors were encountered: