use hash location type

support gh-pages.