minor changes. fixed a bug with pagination where it would say the blog has no posts