{{- $bundles := partial "utils/get-bundles" . }} {{- if gt (len $bundles) 1 }} {{- end }} {{/* Deprecation warning(v1.0.0) starts */}} {{ $layout := partial "utils/hyphenate" (.Layout | default .Type) }} {{/* Deprecation warning(v1.0.0) ends */}} {{- if and (eq .Type "docs") (ne $layout "doc-list") }} {{- partial "components/schema-page" . }} {{- else if or (eq .Kind "section") (eq .Kind "term") }} {{- partial "components/schema-node" . }} {{- else if .IsPage }} {{- partial "components/schema-page" . }} {{- end }}