diff options
Diffstat (limited to 'wp-content/themes/twentytwentythree/templates/home.html')
-rw-r--r-- | wp-content/themes/twentytwentythree/templates/home.html | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/wp-content/themes/twentytwentythree/templates/home.html b/wp-content/themes/twentytwentythree/templates/home.html new file mode 100644 index 0000000..9b84d2b --- /dev/null +++ b/wp-content/themes/twentytwentythree/templates/home.html @@ -0,0 +1,37 @@ +<!-- wp:template-part {"slug":"header","tagName":"header"} /--> + +<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} --> +<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--70)"> + <!-- wp:heading {"level":1,"align":"wide","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|60"}}}} --> + <h1 class="alignwide" style="margin-bottom:var(--wp--preset--spacing--60)">Mindblown: a blog about philosophy.</h1> + <!-- /wp:heading --> + + <!-- 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"}} --> + <div class="wp-block-query alignwide"> + <!-- wp:post-template {"align":"wide"} --> + <!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"clamp(15vw, 30vh, 400px)","align":"wide"} /--> + <!-- wp:post-title {"isLink":true} /--> + <!-- wp:post-excerpt /--> + <!-- wp:post-date {"isLink":true} /--> + + <!-- wp:spacer {"height":"var(--wp--preset--spacing--40)"} --> + <div style="height:var(--wp--preset--spacing--40)" aria-hidden="true" class="wp-block-spacer"></div> + <!-- /wp:spacer --> + <!-- /wp:post-template --> + + <!-- wp:query-pagination {"paginationArrow":"arrow","align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} --> + <!-- wp:query-pagination-previous {"label":"Newer Posts"} /--> + <!-- wp:query-pagination-next {"label":"Older Posts"} /--> + <!-- /wp:query-pagination --> + </div> + <!-- /wp:query --> + + <!-- wp:spacer {"height":"var(--wp--preset--spacing--60)"} --> + <div style="height:var(--wp--preset--spacing--60)" aria-hidden="true" class="wp-block-spacer"></div> + <!-- /wp:spacer --> + + <!-- wp:pattern {"slug":"twentytwentythree/cta"} /--> +</main> +<!-- /wp:group --> + +<!-- wp:template-part {"slug":"footer","tagName":"footer"} /--> |