Skip to content

Commit

Permalink
Page templates: Add back the main wrapper for the page content.
Browse files Browse the repository at this point in the history
This enables the automatic skip-link code
  • Loading branch information
ryelle committed May 2, 2024
1 parent a1c4c6c commit 8def892
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<!-- wp:pattern {"slug":"wporg-themes-2024/header"} /-->

<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|edge-space","left":"var:preset|spacing|edge-space"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull" style="padding-right:var(--wp--preset--spacing--edge-space);padding-left:var(--wp--preset--spacing--edge-space)">
<!-- wp:group {"tagName":"main","align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|edge-space","left":"var:preset|spacing|edge-space"}}},"layout":{"type":"constrained"},"className":"entry-content"} -->
<main class="wp-block-group alignfull entry-content" style="padding-right:var(--wp--preset--spacing--edge-space);padding-left:var(--wp--preset--spacing--edge-space)">
<!-- wp:pattern {"slug":"wporg-themes-2024/page-commercial"} /-->
</div>
</main>
<!-- /wp:group -->

<!-- wp:wporg/global-footer /-->
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<!-- wp:pattern {"slug":"wporg-themes-2024/header"} /-->

<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|edge-space","left":"var:preset|spacing|edge-space"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull" style="padding-right:var(--wp--preset--spacing--edge-space);padding-left:var(--wp--preset--spacing--edge-space)">
<!-- wp:group {"tagName":"main","align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|edge-space","left":"var:preset|spacing|edge-space"}}},"layout":{"type":"constrained"},"className":"entry-content"} -->
<main class="wp-block-group alignfull entry-content" style="padding-right:var(--wp--preset--spacing--edge-space);padding-left:var(--wp--preset--spacing--edge-space)">
<!-- wp:pattern {"slug":"wporg-themes-2024/page-getting-started"} /-->
</div>
</main>
<!-- /wp:group -->

<!-- wp:wporg/global-footer /-->
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<!-- wp:pattern {"slug":"wporg-themes-2024/header"} /-->

<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|edge-space","left":"var:preset|spacing|edge-space"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull" style="padding-right:var(--wp--preset--spacing--edge-space);padding-left:var(--wp--preset--spacing--edge-space)">
<!-- wp:group {"tagName":"main","align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|edge-space","left":"var:preset|spacing|edge-space"}}},"layout":{"type":"constrained"},"className":"entry-content"} -->
<main class="wp-block-group alignfull entry-content" style="padding-right:var(--wp--preset--spacing--edge-space);padding-left:var(--wp--preset--spacing--edge-space)">
<!-- wp:post-content {"layout":{"inherit":true},"style":{"spacing":{"blockGap":"0px"}}} /-->

<!-- wp:spacer {"height":"60px","className":"alignwide","style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|50"}}}} -->
<div style="margin-top:0;margin-bottom:var(--wp--preset--spacing--50);height:60px" aria-hidden="true" class="wp-block-spacer alignwide"></div>
<!-- /wp:spacer -->

</div>
</main>
<!-- /wp:group -->

<!-- wp:wporg/global-footer {"style":"white-on-black"} /-->
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<!-- wp:pattern {"slug":"wporg-themes-2024/header"} /-->

<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|edge-space","left":"var:preset|spacing|edge-space"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull" style="padding-right:var(--wp--preset--spacing--edge-space);padding-left:var(--wp--preset--spacing--edge-space)">
<!-- wp:group {"tagName":"main","align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|edge-space","left":"var:preset|spacing|edge-space"}}},"layout":{"type":"constrained"},"className":"entry-content"} -->
<main class="wp-block-group alignfull entry-content" style="padding-right:var(--wp--preset--spacing--edge-space);padding-left:var(--wp--preset--spacing--edge-space)">
<!-- wp:pattern {"slug":"wporg-themes-2024/page-upload"} /-->
</div>
</main>
<!-- /wp:group -->

<!-- wp:wporg/global-footer /-->

0 comments on commit 8def892

Please sign in to comment.