{{/* Copyright (c) 2018 Eclipse Foundation, Inc. This program and the accompanying materials are made available under the terms of the Eclipse Public License v. 2.0 which is available at http://www.eclipse.org/legal/epl-2.0. Contributors: Christopher Guindon SPDX-License-Identifier: EPL-2.0 */}}
{{ 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 }}