{{ if $link }}{{ end }}
{{- end }}
{{- if or (eq $location "default") .Store.Get "hasSearch" }}
{{- if not $disableSearchIndex }}
{{- $dep := printf "dependencies/search-%s.html" $adapter }}
{{- partial $dep (dict "page" $page "location" $location) }}
{{- end }}
{{- end }}