Leaflet/docs/_layouts/redirected.html
Andrew 748905cbf5 Fix docs redirects (#5824)
* use redirected.html instead of jekyll-redirect-from

* modify redirected.html to preserve url hases

* fix links in zoom-levels example

- use relative links instead of absolute
- remove hardcoded version in lins and refer to latest version docs instead

* fix hash in choropleth example

* fix links in geojson example

 - use relative links instead of absolute

* fix absolute link in quick-start example

* fix link in video-overlay example

* fix link in map-panes example

* fix link in wms example

* fix link in geojson example

* fix relative reference links
2017-10-05 15:34:04 +02:00

21 lines
609 B
HTML

<!DOCTYPE html>
<html>
<head>
<!-- From https://superdevresources.com/redirects-jekyll-github-pages/ -->
<link rel="canonical" href="{{ page.redirect_to }}"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="refresh" content="0;url={{ page.redirect_to }}" />
</head>
<body>
<h1>Redirecting...</h1>
<a href="{{ page.redirect_to }}">Click here if you are not redirected.<a>
<script>
var url = '{{ page.redirect_to }}';
if (location.hash) {
url += location.hash;
}
location = url;
</script>
</body>
</html>