Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion blockbase/block-templates/header-footer-only.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->

<!-- wp:group {"tagName":"main","layout":{"inherit":true}} -->
<!-- wp:group {"tagName":"main"} -->
<main class="wp-block-group">

<!-- wp:post-content {"layout":{"inherit":true}} /-->
Expand Down
2 changes: 1 addition & 1 deletion blockbase/block-templates/search.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- wp:template-part {"slug":"header","tagName":"header","layout":{"inherit":true}} /-->
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This I think was an unrelated change, but was discovered while scrutinizing the layout properties in the templates. This particular change just makes the markup of all usages of the header template part the same.


<!-- wp:group {"layout":{"inherit":true},"tagName":"main"} -->
<main class="wp-block-group">
Expand Down
4 changes: 2 additions & 2 deletions blockbase/block-templates/singular.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
</div>
<!-- /wp:group -->

<!-- wp:group {"tagName":"main","layout":{"inherit":true}} -->
<!-- wp:group {"tagName":"main"} -->
<main class="wp-block-group">
<!-- wp:post-featured-image {"align":"full"} /-->

<!-- wp:post-content /-->
<!-- wp:post-content {"layout":{"inherit":true}} /-->
</main>
<!-- /wp:group -->

Expand Down