Added base template.
generating the pages correctly for blog
update