浏览代码

Merge pull request #3045 from Automattic/update/block-template-theme-attributes

Seedlet Blocks: Remove theme attributes from block templates
Jeremy Yip 4 年之前
父节点
当前提交
e9408a1926
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 2 2
      seedlet-blocks/block-templates/index.html
  2. 2 2
      seedlet-blocks/block-templates/singular.html

+ 2 - 2
seedlet-blocks/block-templates/index.html

@@ -1,4 +1,4 @@
-<!-- wp:template-part {"slug":"header","theme":"seedlet-blocks","align":"full","tagName":"header"} /-->
+<!-- wp:template-part {"slug":"header","align":"full","tagName":"header"} /-->
 
 <!-- wp:group {"align":"full","className":"site-content","tagName":"main"} -->
 <div class="wp-block-group alignfull site-content"><div class="wp-block-group__inner-container">
@@ -18,4 +18,4 @@
 <!-- /wp:query --></div></div>
 <!-- /wp:group -->
 
-<!-- wp:template-part {"slug":"footer","theme":"seedlet-blocks","align":"full","tagName":"footer"} /-->
+<!-- wp:template-part {"slug":"footer","align":"full","tagName":"footer"} /-->

+ 2 - 2
seedlet-blocks/block-templates/singular.html

@@ -1,4 +1,4 @@
-<!-- wp:template-part {"slug":"header","theme":"seedlet-blocks","align":"full","tagName":"header"} /-->
+<!-- wp:template-part {"slug":"header","align":"full","tagName":"header"} /-->
 
 <!-- wp:group {"align":"full","className":"site-content","tagName":"main"} -->
 <div class="wp-block-group alignfull site-content"><div class="wp-block-group__inner-container">
@@ -6,4 +6,4 @@
 <!-- wp:post-content {"align":"full"} /--></div></div>
 <!-- /wp:group -->
 
-<!-- wp:template-part {"slug":"footer","theme":"seedlet-blocks","align":"full","tagName":"footer"} /-->
+<!-- wp:template-part {"slug":"footer","align":"full","tagName":"footer"} /-->