fixed the blog.php template pagination (hopefully/needs testing)