{{/* Copyright (c) 2023 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: Olivier Goulet SPDX-License-Identifier: EPL-2.0 */}} {{ $show_featured_story := .Page.Params.show_featured_story | default false }} {{ $hide_jumbotron := .Page.Params.hide_jumbotron }} {{ $jumbotron_container := .Page.Params.jumbotron_container | default "container" }} {{ $custom_jumbotron_end := .Page.Params.custom_jumbotron_end }} {{/* We need to keep track of whether or not a jumbotron is present on the page to know where to render the featured story. */}} {{ .Scratch.Set "has_jumbotron" false }} {{ if or (isset .Page.Params "headline") (eq $hide_jumbotron false) }} {{ .Scratch.Set "has_jumbotron" true }} {{ end }}