Skip to content

Commit

Permalink
refactor: update block name
Browse files Browse the repository at this point in the history
  • Loading branch information
adekbadek committed Nov 11, 2024
1 parent 8cfa19b commit 2ace418
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion includes/blocks/subtitle-block/block.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "newspack-block-theme/subtitle",
"name": "newspack-block-theme/article-subtitle",
"title": "Article Subtitle",
"category": "newspack",
"attributes": {},
Expand Down
2 changes: 1 addition & 1 deletion patterns/post-header/post-header-style-1-default.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</div>
<!-- /wp:group -->

<!-- wp:newspack-block-theme/subtitle {} /-->
<!-- wp:newspack-block-theme/article-subtitle {} /-->

<!-- wp:pattern {"slug":"newspack-block-theme/post-meta-multiple-lines-avatar"} /-->

Expand Down
2 changes: 1 addition & 1 deletion patterns/post-header/post-header-style-1-wide.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</div>
<!-- /wp:group -->

<!-- wp:newspack-block-theme/subtitle {} /-->
<!-- wp:newspack-block-theme/article-subtitle {} /-->

<!-- wp:group {"align":"wide","layout":{"type":"default"}} -->
<div class="wp-block-group alignwide">
Expand Down
2 changes: 1 addition & 1 deletion patterns/post-header/post-header-style-2-default.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</div>
<!-- /wp:group -->

<!-- wp:newspack-block-theme/subtitle {} /-->
<!-- wp:newspack-block-theme/article-subtitle {} /-->

<!-- wp:pattern {"slug":"newspack-block-theme/post-meta-single-line-avatar"} /-->

Expand Down
2 changes: 1 addition & 1 deletion patterns/post-header/post-header-style-2-wide.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</div>
<!-- /wp:group -->

<!-- wp:newspack-block-theme/subtitle {} /-->
<!-- wp:newspack-block-theme/article-subtitle {} /-->

<!-- wp:pattern {"slug":"newspack-block-theme/post-meta-single-line-avatar"} /-->

Expand Down
4 changes: 2 additions & 2 deletions templates/archive.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
</div>
<!-- /wp:group -->

<!-- wp:newspack-block-theme/subtitle {} /-->
<!-- wp:newspack-block-theme/article-subtitle {} /-->

<!-- wp:post-excerpt {"showMoreOnNewLine":false,"fontSize":"small"} /-->

<!-- wp:group {"metadata":{"name":"Post Meta"},"className":"post-meta","style":{"spacing":{"blockGap":"4px"}},"layout":{"type":"flex","orientation":"vertical"}} -->
Expand Down
4 changes: 2 additions & 2 deletions templates/author.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
</div>
<!-- /wp:group -->

<!-- wp:newspack-block-theme/subtitle {} /-->
<!-- wp:newspack-block-theme/article-subtitle {} /-->

<!-- wp:post-excerpt {"showMoreOnNewLine":false,"fontSize":"small"} /-->

<!-- wp:group {"metadata":{"name":"Post Meta"},"className":"post-meta","style":{"spacing":{"blockGap":"4px"}},"layout":{"type":"flex","orientation":"vertical"}} -->
Expand Down
4 changes: 2 additions & 2 deletions templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
</div>
<!-- /wp:group -->

<!-- wp:newspack-block-theme/subtitle {} /-->
<!-- wp:newspack-block-theme/article-subtitle {} /-->

<!-- wp:post-excerpt {"showMoreOnNewLine":false,"fontSize":"small"} /-->

<!-- wp:group {"metadata":{"name":"Post Meta"},"className":"post-meta","style":{"spacing":{"blockGap":"4px"}},"layout":{"type":"flex","orientation":"vertical"}} -->
Expand Down
4 changes: 2 additions & 2 deletions templates/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ <h1 class="wp-block-heading">Search results for:</h1>
</div>
<!-- /wp:group -->

<!-- wp:newspack-block-theme/subtitle {} /-->
<!-- wp:newspack-block-theme/article-subtitle {} /-->

<!-- wp:post-excerpt {"showMoreOnNewLine":false,"fontSize":"small"} /-->

<!-- wp:group {"metadata":{"name":"Post Meta"},"className":"post-meta","style":{"spacing":{"blockGap":"4px"}},"layout":{"type":"flex","orientation":"vertical"}} -->
Expand Down

0 comments on commit 2ace418

Please sign in to comment.