Browse Source

Update/pendant page template (#5906)

Jason Crist 3 years ago
parent
commit
bc9af51f6d

+ 0 - 14
pendant/patterns/title.php

@@ -1,14 +0,0 @@
-<?php
-/**
- * Title: Title
- * slug: pendant/title
- * categories: pendant
- */
-?>
-
-<!-- wp:group {"style":{"spacing":{"margin":{"top":"0px"},"padding":{"top":"5em","bottom":"5em"}}},"backgroundColor":"foreground","textColor":"background","layout":{"inherit":true}} -->
-<div class="wp-block-group has-background-color has-foreground-background-color has-text-color has-background" style="margin-top:0px;padding-top:5em;padding-bottom:5em"><!-- wp:heading {"level":1,"align":"wide"} -->
-	<h1 class="alignwide"><?php echo  esc_html__( 'Articles', 'pendant' ); ?></h1>
-	<!-- /wp:heading --></div>
-<!-- /wp:group -->
-

+ 1 - 1
pendant/templates/404.html

@@ -6,5 +6,5 @@
 </main>
 <!-- /wp:group -->
 
-<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->
+<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
 

+ 3 - 3
pendant/templates/archive.html

@@ -1,9 +1,9 @@
 <!-- wp:template-part {"slug":"header","tagName":"header"} /-->
 
-<!-- wp:group {"style":{"spacing":{"margin":{"top":"0px"},"padding":{"top":"5em","bottom":"5em"}}},"backgroundColor":"foreground","textColor":"background","layout":{"inherit":true}} -->
-<div class="wp-block-group has-background-color has-foreground-background-color has-text-color has-background" style="margin-top:0px;padding-top:5em;padding-bottom:5em"><!-- wp:query-title {"type":"archive","textAlign":"left","align":"wide"} /--></div>
+<!-- wp:group {"style":{"spacing":{"margin":{"top":"0px"},"padding":{"top":"3em","bottom":"4em"}}},"backgroundColor":"foreground","textColor":"background","layout":{"inherit":true}} -->
+<div class="wp-block-group has-background-color has-foreground-background-color has-text-color has-background" style="margin-top:0px;padding-top:3em;padding-bottom:4em"><!-- wp:query-title {"type":"archive","textAlign":"left","align":"wide"} /--></div>
 <!-- /wp:group -->
 
 <!-- wp:pattern {"slug":"pendant/grid-of-posts"} /-->
 
-<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->
+<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

+ 1 - 1
pendant/templates/footer-only.html

@@ -1,3 +1,3 @@
 <!-- wp:post-content {"layout":{"inherit":true}} /-->
 
-<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->
+<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

+ 3 - 3
pendant/templates/header-footer-only.html

@@ -1,10 +1,10 @@
 <!-- wp:template-part {"slug":"header","tagName":"header"} /-->
 
-<!-- wp:group {"tagName":"main"} -->
-<main class="wp-block-group">
+<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"0px"}}}} -->
+<main class="wp-block-group" style="margin-top:0px;">
 
 <!-- wp:post-content {"layout":{"inherit":true}} /-->
 </main>
 <!-- /wp:group -->
 
-<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->
+<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

+ 1 - 2
pendant/templates/index.html

@@ -1,4 +1,3 @@
 <!-- wp:template-part {"slug":"header","tagName":"header"} /-->
-<!-- wp:pattern {"slug":"pendant/title"} /-->
 <!-- wp:pattern {"slug":"pendant/grid-of-posts"} /-->
-<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->
+<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

+ 9 - 3
pendant/templates/page.html

@@ -1,8 +1,14 @@
 
 <!-- wp:template-part {"slug":"header","tagName":"header"} /-->
 
-<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"0"}}}} -->
-<main class="wp-block-group" style="margin-top:0">
+<!-- wp:group {"style":{"spacing":{"margin":{"top":"0px"},"padding":{"top":"3em","bottom":"4em"}}},"backgroundColor":"foreground","textColor":"background","layout":{"inherit":true}} -->
+<div class="wp-block-group has-background-color has-foreground-background-color has-text-color has-background" style="margin-top:0px;padding-top:3em;padding-bottom:4em">
+    <!-- wp:post-title {"level":1,"align":"wide"} /-->
+</div>
+<!-- /wp:group -->
+
+<!-- wp:group {"tagName":"main"} -->
+<main class="wp-block-group">
     <!-- wp:post-featured-image {"align":"full"} /-->
     <!-- wp:post-content {"layout":{"inherit":true}} /-->
 </main>
@@ -15,4 +21,4 @@
 </div>
 <!-- /wp:group -->
 
-<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->
+<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

+ 1 - 1
pendant/templates/search.html

@@ -16,4 +16,4 @@
 
 <!-- wp:pattern {"slug":"pendant/grid-of-posts"} /-->
 
-<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->
+<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

+ 1 - 1
pendant/templates/single.html

@@ -36,4 +36,4 @@
 <div style="height:60px" aria-hidden="true" class="wp-block-spacer"></div>
 <!-- /wp:spacer -->
 
-<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->
+<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->