Sfoglia il codice sorgente

Use same layout as single, without comments though. (#6524)

Jeff Ong 2 anni fa
parent
commit
a58c10cb8d
1 ha cambiato i file con 10 aggiunte e 11 eliminazioni
  1. 10 11
      pixel/templates/page.html

+ 10 - 11
pixel/templates/page.html

@@ -1,18 +1,17 @@
 
 <!-- wp:template-part {"slug":"header","tagName":"header"} /-->
 
-<!-- wp:group {"layout":{"inherit":true}} -->
-<div class="wp-block-group">
-<!-- wp:post-title /-->
-</div>
-<!-- /wp:group -->
-
 <!-- wp:group {"tagName":"main","lock":{"move":false,"remove":true}} -->
-<main class="wp-block-group">
-<!-- wp:post-featured-image {"align":"full"} /-->
-
-<!-- wp:post-content {"layout":{"inherit":true},"lock":{"move":false,"remove":true}} /-->
-</main>
+<main class="wp-block-group"><!-- wp:group {"layout":{"type":"constrained"}} -->
+<div class="wp-block-group"><!-- wp:post-featured-image {"style":{"border":{"width":"2px"}},"borderColor":"primary","className":"pixel-shadow"} /-->
+<!-- wp:post-title /--></div><!-- /wp:group -->
+<!-- wp:post-content {"layout":{"type":"constrained"},"lock":{"move":false,"remove":true}} /-->
+<!-- wp:group {"layout":{"type":"constrained"}} --><div class="wp-block-group">
+    <!-- wp:template-part {"slug":"post-meta"} /-->
+    <!-- wp:spacer {"height":"3rem"} -->
+    <div style="height:3rem" aria-hidden="true" class="wp-block-spacer"></div>
+    <!-- /wp:spacer -->
+<!-- /wp:group --></main>
 <!-- /wp:group -->
 
 <!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->