Fix redirect-loop for Hugo server
Fix redirect-loop for Hugo server

An extra slash was added to the path if baseUrl had a sub-directory, causing infinite redirect loop in Go's HTTP server.

Fixes #510

soundrussian/hugo,sprig/hugo,ffrizzo/hugo,gohugoio/hugo,fhergomez/hugo,MarkDBlackwell/hugo,tischda/hugo,Zenithar/hugo,kujohn/hugo,mayah/hugo,bramp/hugo,jygastaud/hugo,anthonyfok/hugo,coderzh/hugo,tjyang/hugo,tatsushid/hugo,fhergomez/hugo,vbatoufflet/hugo,tubo028/hugo,badoet/hugo,fedelibre/hugo,abourget/hugo,mdhender/hugo,coderzh/hugo,tjyang/hugo,mayah/hugo,melo/hugo,tatsushid/hugo,badoet/hugo,bramp/hugo,mitchchn/hugo,ffrizzo/hugo,bogem/hugo,abourget/hugo,melo/hugo,derekperkins/hugo,mdhender/hugo,kujohn/hugo,mitchchn/hugo,fedelibre/hugo,tischda/hugo,bogem/hugo,fedelibre/hugo,digitalcraftsman/hugo,fedelibre/hugo,ryanclarke/hugo,mdhender/hugo,mdhender/hugo,sprig/hugo,gohugoio/hugo,vbatoufflet/hugo,halostatue/hugo,ryanclarke/hugo,gohugoio/hugo,ifraixedes/hugo,soundrussian/hugo,anthonyfok/hugo,derekperkins/hugo,MarkDBlackwell/hugo,digitalcraftsman/hugo,Zenithar/hugo,ifraixedes/hugo,jygastaud/hugo,tubo028/hugo,anthonyfok/hugo,halostatue/hugo