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-05-03 21:39:48 +0300
committerMarcia Ramos <virtua.creative@gmail.com>2018-05-03 21:39:48 +0300
commitad63c1a8ca1a08f241959277c35f75eeea4284c6 (patch)
tree39b76d3f3180411526678d5cc4952319e7aa2929 /layouts
parent4e137082888b5a0e1f9341c914f5789d05e60fc3 (diff)
remove the schema org and website data from all pages, add webpage instead
Diffstat (limited to 'layouts')
-rw-r--r--layouts/default.html7
1 files changed, 3 insertions, 4 deletions
diff --git a/layouts/default.html b/layouts/default.html
index 917dbb70..f216f11e 100644
--- a/layouts/default.html
+++ b/layouts/default.html
@@ -4,7 +4,7 @@
<%= render '/head.*' %>
<%= render '/canonical_urls.*' %>
</head>
-<body>
+<body itemscope itemtype="http://schema.org/WebPage">
<%= render '/header.*' %>
<div class="wrapper">
<div class="main class js-main-wrapper">
@@ -22,7 +22,7 @@
<div id="doc-nav" class="doc-nav">
</div>
<% if @item[:title] %>
- <h1 class="article-title">
+ <h1 class="article-title" itemprop="name">
<%= @item[:title] %><%= @item[:title_badge] %>
</h1>
<% end %>
@@ -40,7 +40,7 @@
Level: <%= @item[:level] %>
</div>
<% end %>
- <div class="article-content js-article-content">
+ <div class="article-content js-article-content" role="main" itemscope itemprop="mainContentOfPage">
<%= yield %>
</div>
<% if ENV['NANOC_ENV'] == 'production' && ENV['CI_COMMIT_REF_NAME'] == 'master' %>
@@ -68,6 +68,5 @@
<%= render '/docsearch.*' %>
<%= render '/analytics.*' %>
<%= render '/https_redirect.*' %>
- <%= render '/schema-microdata.*' %>
</body>
</html>