page.php没有显示内容

I started developing my first WordPress theme and I'm having a problem with the page.php not showing content on newly created pages. Here is my code for the index.php and page.php.

index.php:

    <?php 
get_header();
if(have_posts()):
    while(have_posts()): the_post(); ?>

<article class='post'>
    <h2><a href="<?php the_permalink();?>"><?php the_title();?></a></h2>
    <?php the_content()?>
</article>

   <?php endwhile;
    else:
        echo '<p>No content found</p>';

    endif;
get_footer();
?>

and page.php:

<?php 
get_header();
if(have_posts()):
    while(have_posts()): the_post(); ?>

<article class='post page'>
    <h2><?php the_title();?></h2>
    <?php the_content()?>
</article>

   <?php endwhile;
    else:
        echo '<p>No content found</p>';

    endif;
get_footer();
?>

It was't a problem at at all... I thought that every page i create from the pannel need to have the content from the posts :) that's all. Sorry for the inconvinient