add separate files for the pages and posts