Skip to content

Commit

Permalink
Fix flexsearch param (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
colinwilson authored Nov 16, 2023
2 parents 134f5c3 + bec1514 commit 6b73b18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/docs/footer/flexsearch.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@

{{ $list := slice }}
{{- if and (isset .Site.Params.flexsearch "searchsectionsindex") (not (eq (len .Site.Params.flexsearch.searchSectionsIndex) 0)) }}
{{- if eq .Site.Params.docs.searchSectionsIndex "ALL" }}
{{- if eq .Site.Params.flexsearch.searchSectionsIndex "ALL" }}
{{- $list = .Site.Pages }}
{{- else }}
{{- $list = (where .Site.Pages "Type" "in" .Site.Params.flexsearch.searchSectionsIndex) }}
Expand Down

0 comments on commit 6b73b18

Please sign in to comment.