{{- if or (not (isset .Feature "title")) .Feature.title -}}

{{ .Feature.title | default (title .Feature.feature) }}

{{- end -}} {{- $partial := (printf "section-%s.html" (default .Feature.feature .Feature.widget)) -}} {{- $collection := index .Data (default "features" .Feature.collection) -}} {{- if and (not (templates.Exists (printf "partials/%s" $partial))) (isset $collection .Feature.feature) -}} {{ partial "section-details-list.html" . }} {{- else -}} {{ partial $partial . }} {{- end -}}