generating the pages correctly for blog
update