updated to fix all to static pages
Merge pull request #3 from shibuya246/master

updates to fix static pages function