Skip to content

Commit

Permalink
Add a description to the template part block. (#28839)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtias authored Feb 8, 2021
1 parent a1d5860 commit 64bd23a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/block-library/src/template-part/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ export { metadata, name };

export const settings = {
title: _x( 'Template Part', 'block title' ),
description: __(
'Edit the different global regions of your site, like the header, footer, sidebar, or create your own.'
),
keywords: [ __( 'template part' ) ],
__experimentalLabel: ( { slug } ) => startCase( slug ),
edit,
Expand Down

0 comments on commit 64bd23a

Please sign in to comment.