Skip to content

Commit

Permalink
Use consistent punctuation, capitalization in templateParts documenta…
Browse files Browse the repository at this point in the history
…iton (#38193)

* Remove an unnecessary leading - from name and area.
* Add a comma after title for consistency with name and area.
* Use small case for "Header" as it is a specific value for the area property.
  • Loading branch information
jeremyfelt authored Jan 25, 2022
1 parent 63124a0 commit db1a248
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/how-to-guides/themes/create-block-theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -778,9 +778,9 @@ Since the theme has custom padding enabled, you can add `padding` within the `sp
### Template parts

In the templeParts section, assign the two template parts that you created to their template areas.
Add three keys: -`name`, the file name of the template part file without the file extension, -`area`, the name of the template area, and `title` the visible name in the editor.
Add three keys: `name`, the file name of the template part file without the file extension, `area`, the name of the template area, and `title`, the visible name in the editor.

There are three template areas to choose from: Header, footer, and general.
There are three template areas to choose from: header, footer, and general.

```json
"templateParts": [
Expand Down

0 comments on commit db1a248

Please sign in to comment.