aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/layouts/alias.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/layouts/alias.html b/docs/layouts/alias.html
new file mode 100644
index 0000000000..b96cb34219
--- /dev/null
+++ b/docs/layouts/alias.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html{{ with site.LanguageCode | default site.Language.Lang }} lang="{{ . }}"{{ end }}>
+ <head>
+ <meta charset="utf-8">
+ <title>{{ .Permalink }}</title>
+ <link rel="canonical" href="{{ .Permalink }}">
+ <meta name="robots" content="noindex">
+ <noscript><meta http-equiv="refresh" content="0; url={{ .Permalink }}"></noscript>
+ <script>
+ window.location = "{{ .Permalink }}" + window.location.search + window.location.hash;
+ </script>
+ </head>
+</html>