{{- $defaultConfig := slice "page" -}} {{- $config := .Site.Params.settings.hideEntryMeta | default $defaultConfig -}} {{- $configType := ( printf "%T" $config ) -}} {{- if ( eq $configType "bool" ) -}} {{- $.Scratch.Set "showEntryMeta" ( not $config ) -}} {{- else -}} {{- $.Scratch.Set "showEntryMeta" ( not ( in $config .Section ) ) -}} {{- end -}} {{- if ( $.Scratch.Get "showEntryMeta" ) -}}
{{ end }}