create blog-pages folder and changed connected code to reflect the new directory structure