mirror of https://github.com/0xERR0R/blocky.git
Make index pages redirect to `latest/`
Rough steps, committing just the needed files in the end: ```sh mike deploy --update-aliases --alias-type=redirect latest index find index -name '*.html' -exec sed -i 's:\.\./latest:latest:g' {} + for f in index/{,*/,*/*/}*.html; do git mv "$f" "${f#index/}"; done ```
This commit is contained in:
parent
d7749daf68
commit
b0f7a78180
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Redirecting</title>
|
||||
<noscript>
|
||||
<meta http-equiv="refresh" content="1; url=latest/404.html" />
|
||||
</noscript>
|
||||
<script>
|
||||
window.location.replace(
|
||||
"latest/404.html" + window.location.search + window.location.hash
|
||||
);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
Redirecting to <a href="latest/404.html">latest/404.html</a>...
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Redirecting</title>
|
||||
<noscript>
|
||||
<meta http-equiv="refresh" content="1; url=../latest/additional_information/" />
|
||||
</noscript>
|
||||
<script>
|
||||
window.location.replace(
|
||||
"../latest/additional_information/" + window.location.search + window.location.hash
|
||||
);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
Redirecting to <a href="../latest/additional_information/">../latest/additional_information/</a>...
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Redirecting</title>
|
||||
<noscript>
|
||||
<meta http-equiv="refresh" content="1; url=../latest/configuration/" />
|
||||
</noscript>
|
||||
<script>
|
||||
window.location.replace(
|
||||
"../latest/configuration/" + window.location.search + window.location.hash
|
||||
);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
Redirecting to <a href="../latest/configuration/">../latest/configuration/</a>...
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Redirecting</title>
|
||||
<noscript>
|
||||
<meta http-equiv="refresh" content="1; url=../../latest/includes/abbreviations/" />
|
||||
</noscript>
|
||||
<script>
|
||||
window.location.replace(
|
||||
"../../latest/includes/abbreviations/" + window.location.search + window.location.hash
|
||||
);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
Redirecting to <a href="../../latest/includes/abbreviations/">../../latest/includes/abbreviations/</a>...
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Redirecting</title>
|
||||
<noscript>
|
||||
<meta http-equiv="refresh" content="1; url=latest/" />
|
||||
</noscript>
|
||||
<script>
|
||||
window.location.replace(
|
||||
"latest/" + window.location.search + window.location.hash
|
||||
);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
Redirecting to <a href="latest/">latest/</a>...
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Redirecting</title>
|
||||
<noscript>
|
||||
<meta http-equiv="refresh" content="1; url=../latest/installation/" />
|
||||
</noscript>
|
||||
<script>
|
||||
window.location.replace(
|
||||
"../latest/installation/" + window.location.search + window.location.hash
|
||||
);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
Redirecting to <a href="../latest/installation/">../latest/installation/</a>...
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Redirecting</title>
|
||||
<noscript>
|
||||
<meta http-equiv="refresh" content="1; url=../latest/interfaces/" />
|
||||
</noscript>
|
||||
<script>
|
||||
window.location.replace(
|
||||
"../latest/interfaces/" + window.location.search + window.location.hash
|
||||
);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
Redirecting to <a href="../latest/interfaces/">../latest/interfaces/</a>...
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Redirecting</title>
|
||||
<noscript>
|
||||
<meta http-equiv="refresh" content="1; url=../latest/network_configuration/" />
|
||||
</noscript>
|
||||
<script>
|
||||
window.location.replace(
|
||||
"../latest/network_configuration/" + window.location.search + window.location.hash
|
||||
);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
Redirecting to <a href="../latest/network_configuration/">../latest/network_configuration/</a>...
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Redirecting</title>
|
||||
<noscript>
|
||||
<meta http-equiv="refresh" content="1; url=../latest/prometheus_grafana/" />
|
||||
</noscript>
|
||||
<script>
|
||||
window.location.replace(
|
||||
"../latest/prometheus_grafana/" + window.location.search + window.location.hash
|
||||
);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
Redirecting to <a href="../latest/prometheus_grafana/">../latest/prometheus_grafana/</a>...
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Redirecting</title>
|
||||
<noscript>
|
||||
<meta http-equiv="refresh" content="1; url=latest/rapidoc.html" />
|
||||
</noscript>
|
||||
<script>
|
||||
window.location.replace(
|
||||
"latest/rapidoc.html" + window.location.search + window.location.hash
|
||||
);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
Redirecting to <a href="latest/rapidoc.html">latest/rapidoc.html</a>...
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue