Skip to content

Commit

Permalink
Schemas: Add title to templateParts (#36145)
Browse files Browse the repository at this point in the history
  • Loading branch information
Soean authored Nov 3, 2021
1 parent 1bbc66d commit 9367fce
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion schemas/json/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -1087,7 +1087,7 @@
"type": "object",
"properties": {
"name": {
"description": "Filename ,without extension, of the template in the block-templates folder.\nGutenberg plugin required.",
"description": "Filename, without extension, of the template in the block-templates folder.\nGutenberg plugin required.",
"type": "string"
},
"title": {
Expand Down Expand Up @@ -1117,6 +1117,10 @@
"description": "Filename, without extension, of the template in the block-template-parts folder.\nGutenberg plugin required.",
"type": "string"
},
"title": {
"description": "Title of the template, translatable.\nGutenberg plugin required.",
"type": "string"
},
"area": {
"description": "The area the template part is used for. Block variations for `header` and `footer` values exist and will be used when the area is set to one of those.\nGutenberg plugin required.",
"type": "string",
Expand Down

0 comments on commit 9367fce

Please sign in to comment.