<?php
/**
 * Title: Latest 3 posts
 * Slug: plover/latest-3-posts
 * Categories: query, plover
 * Block Types: core/query
 */
?>

<!-- wp:group {"metadata":{"name":"Latest 3 posts"},"ploverBlockID":"38a7bc64-3721-4cf2-9734-b3d09bf1a463","style":{"spacing":{"padding":{"top":"var:preset|spacing|x-large","bottom":"var:preset|spacing|x-large"}}},"backgroundColor":"neutral-0","layout":{"type":"constrained"}} -->
<div class="wp-block-group has-neutral-0-background-color has-background"
	style="padding-top:var(--wp--preset--spacing--x-large);padding-bottom:var(--wp--preset--spacing--x-large)">
	<!-- wp:group {"ploverBlockID":"9cf81f53-ff57-4e33-99b1-b77dc879f9b9","style":{"spacing":{"padding":{"top":"var:preset|spacing|medium","bottom":"var:preset|spacing|medium"},"blockGap":"var:preset|spacing|x-small"}},"layout":{"type":"constrained"}} -->
	<div class="wp-block-group"
		style="padding-top:var(--wp--preset--spacing--medium);padding-bottom:var(--wp--preset--spacing--medium)">
		<!-- wp:heading {"ploverBlockID":"727ad765-982a-4f9a-834c-377de9de7f74","style":{"typography":{"textAlign":"center"}}} -->
		<h2 class="wp-block-heading has-text-align-center"><?php esc_html_e('Latest Blogs', 'journal-book'); ?></h2>
		<!-- /wp:heading -->

		<!-- wp:paragraph {"ploverBlockID":"4adb4d47-3dd9-4e46-9121-ea7af6b883e8","style":{"typography":{"textAlign":"center"}}} -->
		<p class="has-text-align-center"><?php esc_html_e('Lorem ipsum dolor sit amet consectetur adipiscing elit', 'journal-book'); ?></p>
		<!-- /wp:paragraph -->
	</div>
	<!-- /wp:group -->

	
    <!-- wp:query {"query":{"perPage":"3","pages":0,"offset":"0","postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"ploverBlockID":"8f2d5d97-4c98-41ac-8cc2-804f05716e04","align":"wide","layout":{"type":"default"}} -->
    <div class="wp-block-query alignwide">
        <!-- wp:query-no-results {"ploverBlockID":"99fcf8c8-acea-425e-964a-7c7b675161fd"} -->
        <!-- wp:paragraph {"align":"center","ploverBlockID":"7bcf29ba-a2a9-4443-9080-bb3d0f6b757d","style":{"spacing":{"padding":{"top":"var:preset|spacing|large","bottom":"var:preset|spacing|large"}}}} -->
        <p class="has-text-align-center"
           style="padding-top:var(--wp--preset--spacing--large);padding-bottom:var(--wp--preset--spacing--large)"><?php esc_html_e( 'No posts were found.', 'journal-book' ); ?></p>
        <!-- /wp:paragraph -->
        <!-- /wp:query-no-results -->

        <!-- wp:group {"ploverBlockID":"8f010cf5-497d-4be3-82dd-626a76160dc1","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"0","right":"0"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"default"}} -->
        <div class="wp-block-group"
             style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--50);padding-right:0;padding-bottom:var(--wp--preset--spacing--50);padding-left:0">
            <!-- wp:post-template {"ploverBlockID":"923e03dd-0747-4277-8200-bea137de8a98","align":"full","style":{"spacing":{"blockGap":"var:preset|spacing|medium"}},"layout":{"type":"grid","columnCount":3}} -->
            
            <!-- wp:pattern {"slug":"plover/post-card-plain"} /-->

            <!-- /wp:post-template -->
        </div>
        <!-- /wp:group -->
    </div>
    <!-- /wp:query -->
</div>
<!-- /wp:group -->
