{{if not .Params.hide_breadcrumb}} {{end}} {{if not .Params.layout }} {{$pagetitle := .Title}} {{if eq $pagetitle ""}}{{$pagetitle = .File.BaseFileName}}{{end}} {{ $cPage := .}} {{ $elements := (where .Sections "NONONO" false) }} {{ $isSubPage := .Params.subpage }} {{ $subpages := (where (where (where .Sections.ByWeight "Params.subpage" true) "Params.hidden" "ne" true ) "Kind" "section")}} {{ $pages := (where (where .CurrentSection.Pages.ByWeight "Kind" "page") "Params.hidden" "ne" true ) }} {{if $isSubPage }}