浏览代码

Blockbase: Remove layout inheritance from the footer template (#5100)

Ben Dwyer 3 年之前
父节点
当前提交
a315d63a9c
共有 2 个文件被更改,包括 1 次插入8 次删除
  1. 1 1
      blockbase/block-templates/index.html
  2. 0 7
      russell/block-template-parts/footer.html

+ 1 - 1
blockbase/block-templates/index.html

@@ -30,4 +30,4 @@
 </main>
 <!-- /wp:query -->
 
-<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->
+<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

+ 0 - 7
russell/block-template-parts/footer.html

@@ -1,7 +0,0 @@
-<!-- wp:group -->
-<div class="wp-block-group">
-	<!-- wp:paragraph {"align":"center","style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} -->
-	<p class="has-text-align-center" style="font-size:var(--wp--custom--font-sizes--tiny);">Proudly Powered by <a href="https://wordpress.org" rel="nofollow">WordPress</a></p>
-	<!-- /wp:paragraph -->
-</div>
-<!-- /wp:group -->