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/footer/script-footer.html')
-rw-r--r--layouts/partials/footer/script-footer.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/footer/script-footer.html b/layouts/partials/footer/script-footer.html
index 769494a..1a571d1 100644
--- a/layouts/partials/footer/script-footer.html
+++ b/layouts/partials/footer/script-footer.html
@@ -39,7 +39,7 @@
{{ if $showFlexSearch -}}
{{ $flexSearch := resources.Get "js/vendor/flexsearch/dist/flexsearch.bundle.js" -}}
{{ $slice = $slice | append $flexSearch -}}
- {{ if (isset .Site.Params.options "searchsectionsshow") -}}
+ {{ if and (isset .Site.Params.options "searchsectionsshow") (not (eq .Site.Params.options.searchSectionsShow "ALL")) -}}
{{ $showFlexSearch = or (eq (len .Site.Params.options.searchSectionsShow) 0) (in .Site.Params.options.searchSectionsShow .Section) -}}
{{ end -}}
{{ end -}}