浏览代码

Blockbase: Handle posts without titles (#4920)

Ben Dwyer 3 年之前
父节点
当前提交
939d7ea6ac

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

@@ -9,6 +9,7 @@
 	<!-- wp:post-title {"isLink":true} /-->
 	<!-- wp:post-featured-image {"isLink":true} /-->
 	<!-- wp:post-excerpt /-->
+	<!-- wp:template-part {"slug":"post-meta-icons","layout":{"inherit":true}} /-->
 	<!-- wp:spacer {"height":40} -->
 	<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
 	<!-- /wp:spacer -->

+ 2 - 2
kerr/block-templates/index.html

@@ -7,7 +7,7 @@
 	<!-- wp:post-template {"align":"wide"} -->
 		<!-- wp:group -->
 		<div class="wp-block-group">
-		<!-- wp:post-date {"isLink":false,"textAlign":"center","style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /-->
+		<!-- wp:post-date {"isLink":true,"textAlign":"center","style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /-->
 		<!-- wp:post-title {"isLink":true, "level": 3, "textAlign":"center"} /-->
 		<!-- wp:group {"layout":{"inherit":true}} -->
 		<div class="wp-block-group">
@@ -30,4 +30,4 @@
 </main>
 <!-- /wp:query -->
 
-<!-- wp:template-part {"slug":"footer","className":"site-footer-container"} /-->
+<!-- wp:template-part {"slug":"footer","className":"site-footer-container"} /-->

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

@@ -16,7 +16,7 @@
 	<!-- wp:post-template {"align":"wide"} -->
 		<!-- wp:group -->
 		<div class="wp-block-group">
-		<!-- wp:post-date {"isLink":false,"textAlign":"center","style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /-->
+		<!-- wp:post-date {"isLink":true,"textAlign":"center","style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /-->
 		<!-- wp:post-title {"isLink":true, "level": 3, "textAlign":"center"} /-->
 		<!-- wp:group {"layout":{"inherit":true}} -->
 		<div class="wp-block-group">

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

@@ -6,7 +6,7 @@
 	<!-- wp:post-template {"align":"wide"} -->
 		<!-- wp:group -->
 		<div class="wp-block-group">
-		<!-- wp:post-date {"isLink":false,"textAlign":"center","style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /-->
+		<!-- wp:post-date {"isLink":true,"textAlign":"center","style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /-->
 		<!-- wp:post-title {"isLink":true, "level": 3, "textAlign":"center"} /-->
 		<!-- wp:group {"layout":{"inherit":true}} -->
 		<div class="wp-block-group">

+ 1 - 0
russell/block-templates/index.html

@@ -9,6 +9,7 @@
 	<!-- wp:post-title {"isLink":true} /-->
 	<!-- wp:post-featured-image {"isLink":true} /-->
 	<!-- wp:post-excerpt /-->
+	<!-- wp:template-part {"slug":"post-meta-icons","layout":{"inherit":true}} /-->
 	<!-- wp:spacer {"height":40} -->
 	<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
 	<!-- /wp:spacer -->