<?php
/**
 * Title: Related Articles
 * Slug: monoframe/related-articles
 * Categories: monoframe
 *
 * @since 1.0.0
 * @return void
 */
?>
<!-- wp:group {"backgroundColor":"cornsilk","className":"monoframe-related-articles","layout":{"type":"constrained","contentSize":"800px"}} -->
<div class="wp-block-group monoframe-related-articles has-cornsilk-background-color has-background"><!-- wp:heading {"level":2} -->
    <h2 class="wp-block-heading has-xx-large-font-size"><?php esc_html_e( 'Related Articles', 'monoframe' ); ?></h2>
    <!-- /wp:heading -->

    <!-- wp:paragraph {"className":"monoframe-related-articles-description"} -->
    <p class="monoframe-related-articles-description"></p>
    <!-- /wp:paragraph -->

    <!-- wp:query {"namespace":"monoframe/related-articles","query":{"perPage":2,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"ignore","inherit":false,"taxQuery":null,"parents":[],"format":[]},"layout":{"type":"constrained"}} -->
    <div class="wp-block-query"><!-- wp:post-template {"layout":{"type":"grid","columnCount":2}} -->
        <!-- wp:post-featured-image {"isLink":true,"height":"250px","sizeSlug":"large"} /-->

        <!-- wp:post-title {"level":3,"isLink":true,"className":"monoframe-related-article-title"} /-->

        <!-- /wp:post-template -->

        <!-- wp:query-no-results -->
        <!-- wp:paragraph -->
        <p><?php esc_html_e( 'No other articles found.', 'monoframe' ); ?></p>
        <!-- /wp:paragraph -->
        <!-- /wp:query-no-results -->
    </div>
    <!-- /wp:query -->
</div>
<!-- /wp:group -->
