Browse Source

Update index.html

This is meant to fix the issue described in #7550
Beatriz Fialho 1 year ago
parent
commit
da53ebab11
1 changed files with 15 additions and 5 deletions
  1. 15 5
      mpho/templates/index.html

+ 15 - 5
mpho/templates/index.html

@@ -1,9 +1,9 @@
-<!-- wp:template-part {"slug":"header","area":"header"} /-->
+<!-- wp:template-part {"slug":"header","theme":"pub/mpho","area":"header"} /-->
 
 <!-- wp:group {"style":{"border":{"left":{"width":"0px","style":"none"},"right":{"width":"0px","style":"none"},"top":{"width":"0px","style":"none"}},"spacing":{"padding":{"right":"5vw","left":"5vw"}}},"layout":{"type":"constrained"}} -->
 <div class="wp-block-group" style="border-top-style:none;border-top-width:0px;border-right-style:none;border-right-width:0px;border-left-style:none;border-left-width:0px;padding-right:5vw;padding-left:5vw"><!-- wp:group {"layout":{"type":"constrained"}} -->
-<div class="wp-block-group"><!-- wp:query {"queryId":10,"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"displayLayout":{"type":"list"}} -->
-<div class="wp-block-query"><!-- wp:post-template -->
+<div class="wp-block-group"><!-- wp:query {"queryId":10,"query":{"perPage":"10","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
+<div class="wp-block-query"><!-- wp:post-template {"layout":{"type":"default"}} -->
 <!-- wp:group {"style":{"spacing":{"blockGap":"0.8rem","padding":{"bottom":"2vh","top":"2vh"}},"border":{"bottom":{"width":"0px","style":"none"},"top":{"color":"var:preset|color|tertiary","width":"1px"},"right":[],"left":[]}},"layout":{"type":"constrained"}} -->
 <div class="wp-block-group" style="border-top-color:var(--wp--preset--color--tertiary);border-top-width:1px;border-bottom-style:none;border-bottom-width:0px;padding-top:2vh;padding-bottom:2vh"><!-- wp:group {"style":{"spacing":{"blockGap":"0.3rem"}},"layout":{"type":"flex","orientation":"vertical"}} -->
 <div class="wp-block-group"><!-- wp:post-title {"isLink":true} /-->
@@ -24,9 +24,19 @@
 <!-- /wp:post-template -->
 
 <!-- wp:query-no-results -->
-<!-- wp:pattern {"slug":"mpho/no-results"} /-->
+<!-- wp:paragraph {"placeholder":"Add text or blocks that will display when a query returns no results."} -->
+<p>There are no posts yet.</p>
+<!-- /wp:paragraph -->
 <!-- /wp:query-no-results -->
 
+<!-- wp:query-pagination {"layout":{"type":"flex","justifyContent":"space-between"}} -->
+<!-- wp:query-pagination-previous {"label":"Previous Posts","fontSize":"small"} /-->
+
+<!-- wp:query-pagination-numbers {"fontSize":"small"} /-->
+
+<!-- wp:query-pagination-next {"label":"Older Posts","fontSize":"small"} /-->
+<!-- /wp:query-pagination -->
+
 <!-- wp:spacer {"height":"2vh"} -->
 <div style="height:2vh" aria-hidden="true" class="wp-block-spacer"></div>
 <!-- /wp:spacer --></div>
@@ -34,4 +44,4 @@
 <!-- /wp:group --></div>
 <!-- /wp:group -->
 
-<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
+<!-- wp:template-part {"slug":"footer","theme":"pub/mpho","tagName":"footer"} /-->