Here is what I'm trying to do: I am trying to display all the excerpts of my posts to my `blog.php` page but it does not display the posts in the `blog.php` page, it only works in the `index.php` page. Let me explain more.....

Here is my code:

```
<?php
  while ( have_posts() ) : the_post();

    get_template_part( 'excerpt', get_post_format() );

  endwhile;
?>

```

If I put that in the `index.php`, it will show the excerpt of the posts. I also have a page called `blog.php`. I have changed the page template to the `blog.php` file. But when I put the same code in the `blog.php` page from above, it only displays the page content but not all the posts. How can I fix that?