1
0
mirror of https://github.com/rancher/os.git synced 2025-04-28 03:20:50 +00:00
os/docs/_layouts/os-latest-en-redirect.html
Sven Dowideit 7a0ebc409b update master to generate docs like rancher.github.io does
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-08-17 06:01:19 +10:00

15 lines
602 B
HTML

{% capture version %}/{{page.version}}/{% endcapture %}
{% capture redirectto %}{{site.baseurl}}/{{ page.path | replace: "/latest/", version | replace: "index.md", "" }}{% endcapture %}
<!DOCTYPE html>
<meta charset="utf-8">
<title>Redirecting...</title>
<link rel="canonical" href="{{redirectto}}">
<meta http-equiv="refresh" content="0; url={{redirectto}}">
<h1>Redirecting...</h1>
version: {{version}}
from (os/latest/en) {{site.baseurl}}/{{page.path}}
to {{redirectto}}
<a href="{{redirectto}}">Click here if you are not redirected.</a>
<script>location="{{redirectto}}"</script>