diff options
author | Marcia Ramos <virtua.creative@gmail.com> | 2018-01-26 16:54:44 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2018-01-26 16:54:44 +0300 |
commit | 4bd5e85edd5d14eb7c5d7b4fdcc7df834e10816b (patch) | |
tree | d44026c1bd14e0d85c0f7e8f2c71c0a095b04a24 /layouts/redirect.html | |
parent | 8e5b850331a3c0fd1ad3b371582a3a3062c160b0 (diff) |
New layout for redirects
Diffstat (limited to 'layouts/redirect.html')
-rw-r--r-- | layouts/redirect.html | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/layouts/redirect.html b/layouts/redirect.html index a66e73fb..0b4aab45 100644 --- a/layouts/redirect.html +++ b/layouts/redirect.html @@ -3,12 +3,28 @@ <head> <meta charset="utf-8"> <title>Redirecting...</title> - <link rel="canonical" href="<%= @item[:redirect] %>"> - <meta http-equiv="refresh" content="0; url=<%= @item[:redirect] %>"> + <meta name="robots" content="noindex"> + <link rel="canonical" href="<%= @item[:redirect_to] %>"> + <meta http-equiv="refresh" content="0; url=<%= @item[:redirect_to] %>"> + <link rel="stylesheet" href="<%= @items['/assets/stylesheets/bootstrap.min.*'].path %>"> + <link rel="stylesheet" href="<%= @items['/assets/stylesheets/stylesheet.*'].path %>"> + <link rel="stylesheet" href="<%= @items['/assets/stylesheets/footer.*'].path %>"> + <link rel="stylesheet" href="<%= @items['/assets/stylesheets/docsearch.min.*'].path %>"> + <script async src="<%= @items['/assets/javascripts/docs.*'].path %>"></script> + <link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,400italic' rel='stylesheet' type='text/css'> + <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> </head> <body> - <h1>Redirecting...</h1> - <a href="<%= @item[:redirect] %>">Click here if you are not redirected.</a> - <script>location='<%= @item[:redirect] %>'</script> + <%= render '/header.*' %> + <div class=wrapper> + <div id="doc-nav" class="doc-nav"></div> + <div class="main class"> + <h2>Redirecting...</h2> + <a href="<%= @item[:redirect_to] %>">Click here if you are not redirected.</a> + <script>location='<%= @item[:redirect_to] %>'</script> + </div> + </div> + <%= render '/footer.*' %> + <%= render '/docsearch.*' %> </body> </html> |