Custom Theme Blog page not showing Posts

Problem solved .
as i was making my custom theme from scratch so there was not content.php file included in my custom theme that displays the posts titles and contents i have added that.
and it can also be solved if u add this line in you index.php page.

the_content();

or

the_title();

whatever u need.
it can be like this in the while loop :

while ( have_posts() ) : the_post();

                /*
                 * Include the Post-Format-specific template for the content.
                 * If you want to override this in a child theme, then include a file
                 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
                 */
                get_template_part( 'content', get_post_format() );
the_content();
the_title();
            // End the loop.
            endwhile;