{{ $position := . }} {{ if and site.Params.search.active (in site.Params.search.positions $position) }} {{ end }}