diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2018-04-09 13:28:45 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2018-04-09 13:28:45 +0300 |
commit | 83dc0501fb2412a22e81dde8831dc74145665a4d (patch) | |
tree | cc1ab28d9495e5c6ae9e121eb9642dbfa3ee43ce /layouts/header.html | |
parent | abbafef38451c233df92d83e57b4cf46ce677a36 (diff) |
Merge headers layout to one
Diffstat (limited to 'layouts/header.html')
-rw-r--r-- | layouts/header.html | 2 |
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 %> |