{{ with .Site.Menus.main }} {{ end }}
{{- with .Page.Params.logo | default .Site.Params.logo | default "https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-white-orange.svg" }} {{ $currentPageLogo := . }} {{ $currentPageLogoTitle := $.Site.Title }} {{ $currentPageLogoLink := "" }} {{ range $.Site.Data.subsites_custom_logo.items }} {{ $section := $.Site.GetPage (.page_url) }} {{ if or (eq ($.Section) ($section)) ( $.Page.IsDescendant $section ) }} {{ $currentPageLogo = .logo }} {{ $currentPageLogoTitle = .logo_title }} {{ $currentPageLogoLink = .logo_url }} {{ end }} {{ end }} {{ $currentPageLogoTitle }} {{ end }}