change routes, static page will open on /:permalink instead of /pages/:permalink