{{ 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 }} {{ end }}
{{ $has_cfa := 0 }} {{ if (and (isset .Site.Params "call_for_action_text") (isset .Site.Params "call_for_action_url") (isset .Site.Params "call_for_action_icon")) }} {{ $has_cfa = 1 }} {{ end }}