Try to work around the problem of the wrong <base href=""> in case of not-to-the-root-directory deployment.

This commit is contained in:
Manuel Friedli 2017-04-15 19:45:48 +02:00
parent 16a55ce537
commit 6b2908f45d

View file

@ -7,6 +7,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<!-- sha256sum: b67da665e68244f0009b1217a9c126c1377de6ec20b934d1d90b001e16571e6b -->
<script>document.getElementsByTagName('base')[0].setAttribute('href', window.location.pathname);</script>
</head>
<body>
<h1>Convert it all</h1>