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-02-28 23:43:25 +0300
committerMarcia Ramos <virtua.creative@gmail.com>2018-02-28 23:43:25 +0300
commit6931e99d1cd33aa9fca577b502584cb932b63667 (patch)
tree4a9b4aab0a3aa5d6b310ebb30c40b221ff6a90e4 /layouts/head.html
parent19db3678d11b7c684f97d7f604022bc6846f37ca (diff)
Adds search results page to the docs
Diffstat (limited to 'layouts/head.html')
-rw-r--r--layouts/head.html126
1 files changed, 62 insertions, 64 deletions
diff --git a/layouts/head.html b/layouts/head.html
index 5e02b14d..7496a601 100644
--- a/layouts/head.html
+++ b/layouts/head.html
@@ -1,68 +1,66 @@
-<head>
- <meta charset="utf-8">
- <title><%= @item.key?(:title) ? "#{item[:title]} - GitLab Documentation" : "GitLab Documentation" %></title>
- <% if @item[:description] %>
- <meta name="description" content="<%= @item[:description] %>">
- <% else %>
- <meta name="description" content="Documentation for GitLab Community Edition, GitLab Enterprise Edition, Omnibus GitLab, and GitLab Runner.">
- <% end %>
+<meta charset="utf-8">
+<title><%= @item.key?(:title) ? "#{item[:title]} - GitLab Documentation" : "GitLab Documentation" %></title>
+<% if @item[:description] %>
+ <meta name="description" content="<%= @item[:description] %>">
+<% else %>
+ <meta name="description" content="Documentation for GitLab Community Edition, GitLab Enterprise Edition, Omnibus GitLab, and GitLab Runner.">
+<% end %>
- <link rel="stylesheet" href="<%= @items['/assets/stylesheets/bootstrap.min.*'].path %>">
- <link rel="stylesheet" href="<%= @items['/assets/stylesheets/font-awesome.min.*'].path %>">
- <link rel="stylesheet" href="<%= @items['/assets/stylesheets/stylesheet.*'].path %>">
- <link rel="stylesheet" href="<%= @items['/assets/stylesheets/highlight.*'].path %>">
- <link rel="stylesheet" href="<%= @items['/assets/stylesheets/footer.*'].path %>">
- <link rel="stylesheet" href="<%= @items['/assets/stylesheets/docsearch.min.*'].path %>">
- <link rel="stylesheet" href="<%= @items['/assets/stylesheets/toc.*'].path %>">
- <link rel="stylesheet" href="<%= @items['/assets/stylesheets/comments.*'].path %>">
- <script async src="<%= @items['/assets/javascripts/classlist-polyfill.*'].path %>"></script>
- <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">
+<link rel="stylesheet" href="<%= @items['/assets/stylesheets/bootstrap.min.*'].path %>">
+<link rel="stylesheet" href="<%= @items['/assets/stylesheets/font-awesome.min.*'].path %>">
+<link rel="stylesheet" href="<%= @items['/assets/stylesheets/stylesheet.*'].path %>">
+<link rel="stylesheet" href="<%= @items['/assets/stylesheets/highlight.*'].path %>">
+<link rel="stylesheet" href="<%= @items['/assets/stylesheets/footer.*'].path %>">
+<link rel="stylesheet" href="<%= @items['/assets/stylesheets/docsearch.min.*'].path %>">
+<link rel="stylesheet" href="<%= @items['/assets/stylesheets/toc.*'].path %>">
+<link rel="stylesheet" href="<%= @items['/assets/stylesheets/comments.*'].path %>">
+<script async src="<%= @items['/assets/javascripts/classlist-polyfill.*'].path %>"></script>
+<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">
- <!-- you don't need to keep this, but it's cool for stats! -->
- <meta name="generator" content="Nanoc <%= Nanoc::VERSION %>">
- <script type="application/ld+json">
- {
- "@context":"http://schema.org",
- "@type":"Organization",
- "name":"GitLab",
- "legalName":"GitLab Inc.",
- "url":"https://about.gitlab.com",
- "logo":"https://gitlab.com/gitlab-com/gitlab-artwork/raw/master/logo/logo.png",
- "foundingDate":"2011",
- "founders":[
+<!-- you don't need to keep this, but it's cool for stats! -->
+<meta name="generator" content="Nanoc <%= Nanoc::VERSION %>">
+<script type="application/ld+json">
+{
+ "@context":"http://schema.org",
+ "@type":"Organization",
+ "name":"GitLab",
+ "legalName":"GitLab Inc.",
+ "url":"https://about.gitlab.com",
+ "logo":"https://gitlab.com/gitlab-com/gitlab-artwork/raw/master/logo/logo.png",
+ "foundingDate":"2011",
+ "founders":[
+ {
+ "@type":"Person",
+ "name":"Sid Sijbrandij"
+ },
+ {
+ "@type":"Person",
+ "name":"Dmitriy Zaporozhets"
+ }],
+ "address":
{
- "@type":"Person",
- "name":"Sid Sijbrandij"
+ "@type":"PostalAddress",
+ "streetAddress":"1233 Howard St 2F",
+ "addressLocality":"San Francisco",
+ "addressRegion":"CA",
+ "postalCode":"94103",
+ "addressCountry":"USA"
},
- {
- "@type":"Person",
- "name":"Dmitriy Zaporozhets"
- }],
- "address":
- {
- "@type":"PostalAddress",
- "streetAddress":"1233 Howard St 2F",
- "addressLocality":"San Francisco",
- "addressRegion":"CA",
- "postalCode":"94103",
- "addressCountry":"USA"
- },
- "sameAs":[
- "https://www.facebook.com/gitlab",
- "https://twitter.com/gitlab",
- "https://www.linkedin.com/company/gitlab-com",
- "https://plus.google.com/107491817347842790515/",
- "https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg"]
- }
- </script>
- <script type="application/ld+json">
- {
- "@context":"http://schema.org",
- "@type": "WebSite",
- "name": "GitLab Documentation",
- "url": "https://docs.gitlab.com"
- }
- </script>
-</head>
+ "sameAs":[
+ "https://www.facebook.com/gitlab",
+ "https://twitter.com/gitlab",
+ "https://www.linkedin.com/company/gitlab-com",
+ "https://plus.google.com/107491817347842790515/",
+ "https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg"]
+}
+</script>
+<script type="application/ld+json">
+{
+ "@context":"http://schema.org",
+ "@type": "WebSite",
+ "name": "GitLab Documentation",
+ "url": "https://docs.gitlab.com"
+}
+</script>