fix pages url generation
Merge pull request #3 from socketubs/fix-pages-url

fix pages url generation