Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/h-enk/doks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/header/header.html')
-rw-r--r--layouts/partials/header/header.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/header/header.html b/layouts/partials/header/header.html
index 65744ec..5dfae5b 100644
--- a/layouts/partials/header/header.html
+++ b/layouts/partials/header/header.html
@@ -77,7 +77,7 @@
{{ end -}}
</ul>
- {{ if .Site.Params.options.flexSearch -}}
+ {{ if and .Site.Params.options.flexSearch (or (eq (len .Site.Params.options.searchSectionsShow) 0) (in .Site.Params.options.searchSectionsShow .Section)) -}}
<hr class="text-black-50 my-4 d-lg-none">
<form class="doks-search position-relative flex-grow-1 ms-lg-auto me-lg-2">
<input id="search" class="form-control is-search" type="search" placeholder="Search docs..." aria-label="Search docs..." autocomplete="off">