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:
authorAchilleas Pipinellis <axil@gitlab.com>2018-04-09 13:28:45 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2018-04-09 13:28:45 +0300
commit83dc0501fb2412a22e81dde8831dc74145665a4d (patch)
treecc1ab28d9495e5c6ae9e121eb9642dbfa3ee43ce /layouts/header.html
parentabbafef38451c233df92d83e57b4cf46ce677a36 (diff)
Merge headers layout to one
Diffstat (limited to 'layouts/header.html')
-rw-r--r--layouts/header.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/header.html b/layouts/header.html
index b54acf3c..1d68e6c6 100644
--- a/layouts/header.html
+++ b/layouts/header.html
@@ -8,7 +8,9 @@
<i class="fa fa-bars" aria-hidden="true"></i>
</a>
<ul class="nav">
+ <% unless @item.identifier.to_s.split('/')[1] == 'search' %>
<li class="search"><input type="text" class="docsearch" placeholder="Search"></li>
+ <% end %>
<% if ENV['NANOC_ENV'] == 'production' %>
<% @config[:products].each do |name, product| %>
<% if product[:expose] == true %>