1
0
mirror of https://github.com/rancher/os.git synced 2025-06-26 23:06:51 +00:00
os/docs/_layouts/os-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

16 lines
642 B
HTML

{% capture version %}/{{page.version}}/{% endcapture %}
{% capture baseto %}os/{{page.version}}/en/{% endcapture %}
{% capture redirectto %}{{site.baseurl}}/{{ page.path | replace_first: "os/", baseto | 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) {{site.baseurl}}/{{page.path}}
to {{redirectto}}
<a href="{{redirectto}}">Click here if you are not redirected.</a>
<script>location="{{redirectto}}"</script>