Of so if I use this in a template on the index page I get what I want. If this code lives on a page.php page it shows me the recent pages created.
<?php $i = 1; while (have_posts() && $i < 6) : the_post(); ?>
<li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
<?php $i++; endwhile; ?>
So what I want is on a page to display the recent blog posts and not the recent pages. What am I missing? Thanks