Make WordPress Core

source: tags/6.4.2/src/wp-content/themes/twentytwentythree/templates/home.html

Last change on this file was 56251, checked in by azaozz, 12 months ago

Twenty Twenty-Three: Remove the perPage attribute where the query inherits from the global query. The global attribute should be used instead.

Props: mikachan, onemaggie.
Fixes: #58581.

  • Property svn:eol-style set to native
File size: 2.0 KB
Line 
1<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
2
3<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
4<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--70)">
5        <!-- wp:heading {"level":1,"align":"wide","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|60"}}}} -->
6        <h1 class="alignwide" style="margin-bottom:var(--wp--preset--spacing--60)">Mindblown: a blog about philosophy.</h1>
7        <!-- /wp:heading -->
8
9        <!-- wp:query {"query":{"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"displayLayout":{"type":"flex","columns":3},"align":"wide","layout":{"type":"constrained"}} -->
10        <div class="wp-block-query alignwide">
11                <!-- wp:post-template {"align":"wide"} -->
12                        <!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"clamp(15vw, 30vh, 400px)","align":"wide"} /-->
13                        <!-- wp:post-title {"isLink":true} /-->
14                        <!-- wp:post-excerpt /-->
15                        <!-- wp:post-date {"isLink":true} /-->
16
17                        <!-- wp:spacer {"height":"var(--wp--preset--spacing--40)"} -->
18                        <div style="height:var(--wp--preset--spacing--40)" aria-hidden="true" class="wp-block-spacer"></div>
19                        <!-- /wp:spacer -->
20                <!-- /wp:post-template -->
21
22                <!-- wp:query-pagination {"paginationArrow":"arrow","align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} -->
23                        <!-- wp:query-pagination-previous {"label":"Newer Posts"} /-->
24                        <!-- wp:query-pagination-next {"label":"Older Posts"} /-->
25                <!-- /wp:query-pagination -->
26        </div>
27        <!-- /wp:query -->
28
29        <!-- wp:spacer {"height":"var(--wp--preset--spacing--60)"} -->
30        <div style="height:var(--wp--preset--spacing--60)" aria-hidden="true" class="wp-block-spacer"></div>
31        <!-- /wp:spacer -->
32
33        <!-- wp:pattern {"slug":"twentytwentythree/cta"} /-->
34</main>
35<!-- /wp:group -->
36
37<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
Note: See TracBrowser for help on using the repository browser.