Browse Source

Separate 'page' and 'single' templates. Removed comments and title from page template. Refined page template layout. (#6697)

Jason Crist 2 years ago
parent
commit
4ac5d32a08
3 changed files with 33 additions and 2 deletions
  1. 2 2
      loudness/readme.txt
  2. 31 0
      loudness/templates/page.html
  3. 0 0
      loudness/templates/single.html

+ 2 - 2
loudness/readme.txt

@@ -1,7 +1,7 @@
 === Loudness ===
 Contributors: Automattic
-Requires at least: 5.8
-Tested up to: 5.9
+Requires at least: 6.0
+Tested up to: 6.0
 Requires PHP: 5.7
 License: GPLv2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html

+ 31 - 0
loudness/templates/page.html

@@ -0,0 +1,31 @@
+<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
+
+<!-- wp:group {"layout":{"type":"constrained"}} -->
+<div class="wp-block-group">
+
+<!-- wp:group {"align":"full","layout":{"type":"default"}} -->
+<div class="wp-block-group alignfull">
+
+	<!-- wp:post-featured-image {"align":"full","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|80"}}}} /-->
+	<!-- wp:post-title {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|70"}}}} /-->
+
+</div>
+<!-- /wp:group -->
+</div>
+<!-- /wp:group -->
+
+<!-- wp:post-content {"tagName":"main","layout":{"type":"constrained"},"lock":{"move":false,"remove":true}} /-->
+
+<!-- wp:spacer {"height":"4rem"} -->
+<div style="height:4rem" aria-hidden="true" class="wp-block-spacer"></div>
+<!-- /wp:spacer -->
+
+<!-- wp:group {"layout":{"type":"constrained"}} -->
+<div class="wp-block-group">
+<!-- wp:pattern {"slug":"loudness/comments"} /-->
+</div><!-- /wp:group -->
+
+<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
+
+
+

+ 0 - 0
loudness/templates/singular.html → loudness/templates/single.html