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-04-03 20:52:24 +0300
committerMarcia Ramos <virtua.creative@gmail.com>2018-04-03 20:52:24 +0300
commitc6d397c57537db4990c5a48aaa4e3d628137c147 (patch)
treedead440a1e894da4893c8b54c56d8ace6385173d /layouts/home.html
parent5e49e3242d831560ef3bfff690c21f54c8acd910 (diff)
Metadata improvements
Diffstat (limited to 'layouts/home.html')
-rw-r--r--layouts/home.html11
1 files changed, 10 insertions, 1 deletions
diff --git a/layouts/home.html b/layouts/home.html
index 9f54923e..8d8ff2f9 100644
--- a/layouts/home.html
+++ b/layouts/home.html
@@ -1,5 +1,5 @@
<!DOCTYPE HTML>
-<html lang="en">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" prefix="og: http://ogp.me/ns#">
<head>
<%= render '/head.*' %>
<link rel="canonical" href="<%= @config[:base_url] %>/">
@@ -16,5 +16,14 @@
<%= render '/docsearch.*' %>
<%= render '/analytics.*' %>
<%= render '/https_redirect.*' %>
+ <%= render '/schema-microdata.*' %>
+ <script type="application/ld+json"> //this homepage only
+ {
+ "@context": "http://schema.org",
+ "@type": "WebPage",
+ "url": "https://docs.gitlab.com/",
+ "name": "GitLab Documentation"
+ }
+ </script>
</body>
</html>