Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block Themes: Remove theme attributes from block templates #172

Closed
wants to merge 8 commits into from
6 changes: 3 additions & 3 deletions twentynineteen-blocks/block-templates/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- wp:group {"align":"full","className":"site-header"} -->
<div class="wp-block-group alignfull site-header"><div class="wp-block-group__inner-container"><!-- wp:template-part {"slug":"header","theme":"twentynineteen-blocks"} /--></div></div>
<div class="wp-block-group alignfull site-header"><div class="wp-block-group__inner-container"><!-- wp:template-part {"slug":"header"} /--></div></div>
<!-- /wp:group -->

<!-- wp:group {"align":"full","className":"site-content"} -->
Expand All @@ -9,5 +9,5 @@
<!-- /wp:group -->

<!-- wp:group {"align":"full","className":"site-footer"} -->
<div class="wp-block-group alignfull site-footer"><div class="wp-block-group__inner-container"><!-- wp:template-part {"slug":"footer","theme":"twentynineteen-blocks"} /--></div></div>
<!-- /wp:group -->
<div class="wp-block-group alignfull site-footer"><div class="wp-block-group__inner-container"><!-- wp:template-part {"slug":"footer"} /--></div></div>
<!-- /wp:group -->
6 changes: 3 additions & 3 deletions twentynineteen-blocks/block-templates/singular.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- wp:group {"align":"full","className":"site-header"} -->
<div class="wp-block-group alignfull site-header"><div class="wp-block-group__inner-container"><!-- wp:template-part {"slug":"header","theme":"twentynineteen-blocks"} /--></div></div>
<div class="wp-block-group alignfull site-header"><div class="wp-block-group__inner-container"><!-- wp:template-part {"slug":"header"} /--></div></div>
<!-- /wp:group -->

<!-- wp:group {"align":"full","className":"site-content"} -->
Expand All @@ -20,5 +20,5 @@
<!-- /wp:group -->

<!-- wp:group {"align":"full","className":"site-footer"} -->
<div class="wp-block-group alignfull site-footer"><div class="wp-block-group__inner-container"><!-- wp:template-part {"slug":"footer","theme":"twentynineteen-blocks"} /--></div></div>
<!-- /wp:group -->
<div class="wp-block-group alignfull site-footer"><div class="wp-block-group__inner-container"><!-- wp:template-part {"slug":"footer"} /--></div></div>
<!-- /wp:group -->
6 changes: 3 additions & 3 deletions twentytwenty-blocks/block-templates/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- wp:group {"align":"full","className":"site-header"} -->
<div class="wp-block-group alignfull site-header"><div class="wp-block-group__inner-container"><!-- wp:template-part {"slug":"header","theme":"twentytwenty-blocks"} /--></div></div>
<div class="wp-block-group alignfull site-header"><div class="wp-block-group__inner-container"><!-- wp:template-part {"slug":"header"} /--></div></div>
<!-- /wp:group -->

<!-- wp:group {"align":"full","className":"site-content"} -->
Expand All @@ -11,5 +11,5 @@
<!-- /wp:group -->

<!-- wp:group {"align":"full","className":"site-footer"} -->
<div class="wp-block-group alignfull site-footer"><div class="wp-block-group__inner-container"><!-- wp:template-part {"slug":"footer","theme":"twentytwenty-blocks"} /--></div></div>
<!-- /wp:group -->
<div class="wp-block-group alignfull site-footer"><div class="wp-block-group__inner-container"><!-- wp:template-part {"slug":"footer"} /--></div></div>
<!-- /wp:group -->