more tries to remove double slashes and make it work with jekyll development server (it works fine with ngingx since it adds trailing slash)