Use html5mode to avoid #s in URL

Unfortunately this causes docs like
/en/openam/11.0.0/OpenAM-11.0.0-Getting-Started.pdf — which exist — to
get routed to the bad URL page.
Pass through to docs when in html5mode

There’s a problem in html5mode, however, that prevents links like
/en/openam from being correctly interpreted.