Added the New page functionality

I have added several amends to th eroute and blade pages so that any
new page created can be viewable on the public pages if published is
set to yes
updated gitignore file

updated gitignore file