public static function getArticles($nbposts)
    {
        $args = [
                'post_type'      => 'post',
                'category_name'  => 'blog',
                'posts_per_page' => $nbposts,
                'order'          => 'DESC',
            ];
        $loop = new \WP_Query($args);
        while ($loop->have_posts()) {
            $loop->the_post();
            get_template_part('template-parts/blog', 'article');
        }
        wp_reset_query();
    }