better support for other url parts like hashes [gh-pages]