set a default layout for pages in config file and removed unnecessary layout frontmatter