{{- $config := ( .Site.Params.settings.hideEntryNavigation ) -}} {{- $configType := ( printf "%T" $config ) -}} {{- if ( eq $configType "bool" ) -}} {{- $.Scratch.Set "showEntryNav" ( not $config ) -}} {{- else -}} {{- $.Scratch.Set "showEntryNav" ( not ( in $config .Section ) ) -}} {{- end -}} {{- if ( $.Scratch.Get "showEntryNav" ) -}} {{ if gt ( len ( where .Site.RegularPages "Section" .Section ) ) 1 }} {{ end }} {{- end -}}