Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcia Ramos <virtua.creative@gmail.com>2018-03-19 20:20:02 +0300
committerMarcia Ramos <virtua.creative@gmail.com>2018-03-19 20:20:02 +0300
commit8fb03cce3565c3454eacabbbdfbf0478bdcbaf18 (patch)
treeee1617461dbc0b8912f1bd55adb0ae952668da0a /layouts/404.html
parent9ccc6234db3aad99e96845033b1544862fca642e (diff)
include the links in the file layout directly
makes it more flexible, to be adjusted according to the website files.
Diffstat (limited to 'layouts/404.html')
-rw-r--r--layouts/404.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/404.html b/layouts/404.html
index a211920b..89b7ba1f 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -2,6 +2,8 @@
<html lang="en">
<head>
<%= render '/head.*' %>
+ <meta name="robots" content="noindex">
+ <link rel="canonical" href="<%= @config[:base_url] %>/404.html">
<link rel="stylesheet" href="<%= @items['/assets/stylesheets/404.*'].path %>">
</head>
<body>